[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-edu
Subject:    Re: LabPlot builds and runs with kf5
From:       <mk-lists () email ! de>
Date:       2015-03-11 22:55:36
Message-ID: 88AF838B-8595-4E95-81AF-3ED4D1E769F2 () email ! de
[Download RAW message or body]


On 11 Mar 2015, at 23:33 , Alexander Semke <Alexander.Semke@web.de> wrote:

> <gsl_include_fix.diff>

I should work, as the files are found directly in ${GSL_INCLUDEDIR}, but
referenced from one level up, i.e. ${PREFIX}/gsl/ being ${GSL_INCLUDEDIR}/..

And, indeed, that patch solved the localisation issue! :-D



—



Well, now I run into other errors but:
---
[ 74%] Building CXX object \
src/CMakeFiles/labplot2.dir/backend/spreadsheet/Spreadsheet.cpp.o parser.y:227:3: \
error: use of undeclared identifier 'locale_t'  locale_t locale = newlocale \
(LC_NUMERIC_MASK, "C", NULL);  ^
[ 75%] parser.y:231:19: error: implicit declaration of function 'strtod_l' \
[-Werror,-Wimplicit-function-declaration]  double result = \
strtod_l(s,&remain,locale);  ^
parser.y:231:38: error: use of undeclared identifier 'locale'
                double result = strtod_l(s,&remain,locale);
                                                   ^
parser.y:232:3: error: implicit declaration of function 'freelocale' \
[-Werror,-Wimplicit-function-declaration]  freelocale(locale);
                ^
parser.y:232:3: note: did you mean 'setlocale'?
/usr/include/locale.h:53:8: note: 'setlocale' declared here
char            *setlocale(int, const char *);
                 ^
parser.y:232:14: error: use of undeclared identifier 'locale'
                freelocale(locale);
                           ^
Building CXX object src/CMakeFiles/labplot2.dir/backend/spreadsheet/SpreadsheetModel.cpp.o
 5 errors generated.
make[2]: *** [src/CMakeFiles/labplot2.dir/backend/gsl/parser.tab.c.o] Error 1
---



And warnings like these:
---
/Users/marko/WC/KDECI-builds/kf5-qt5/labplot/src/backend/gsl/ExpressionParser.cpp:1263:7: \
warning: 'finite' is deprecated: first deprecated in OS X 10.9 \
[-Wdeprecated-declarations]  if (finite(y))
                    ^
/usr/include/math.h:718:12: note: 'finite' has been explicitly marked deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, \
__IPHONE_NA, __IPHONE_NA);  ^
---



Greets,
Marko
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic