Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43106 - [fltk] fltk-config does not work due to missing .a files in /usr/lib
Attached to Project:
Arch Linux
Opened by Thomas Martin Klein (nikin) - Saturday, 13 December 2014, 19:59 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 31 December 2014, 21:30 GMT
Opened by Thomas Martin Klein (nikin) - Saturday, 13 December 2014, 19:59 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 31 December 2014, 21:30 GMT
|
DetailsDescription:
fltk-config does not work due to missing .a files in /usr/lib Additional info: * package version(s) fltk-1.3.3-3 * config and/or log files etc. Steps to reproduce: 1: get a minimal fltk based project. 2: run fltk-config --compile <sourcename>.cxx |
This task depends upon
Closed by Eric Belanger (Snowman)
Wednesday, 31 December 2014, 21:30 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed in fltk-1.3.3-4
Wednesday, 31 December 2014, 21:30 GMT
Reason for closing: Fixed
Additional comments about closing: Should be fixed in fltk-1.3.3-4
FS#38276$ fltk-config --libs
/usr/lib/libfltk.so
but as far as i checked the package code there is a .patch doing that.
witch looks a bit odd.. as it changes things in the scripts string output.
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/fltk-config-dynlibs.patch?h=packages/fltk
Whereas the $LDSTATIC variable used to compile stuff
$CXX $ARCHFLAGS $includes $CXXFLAGS $debug -o "$prog" "$compile" $LDSTATIC || exit 1
Still is built like:
LDSTATIC="$libdir/libfltk.a $LDLIBS"
If i understand the workings of the code correctly
g++ `fltk-config --cxxflags` main.cpp `fltk-config --ldflags` -o test
works as a solution to build stuff. Allas programs like codeblocks rely by default on fltk-config --ldstaticflags to work as it should
So there is that option to patch fltk-config someway to omit static stuff when --compile is used. But better yet static linking should be possible.