| | [ Return to Bugs & Features | Post Text | Post File | Prev | Next ]
STR #1980
| Application: | FLTK Applications |
| Status: | 5 - New |
| Priority: | 3 - Moderate, e.g. unable to compile the software |
| Scope: | 3 - Applies to all machines and operating systems |
| Subsystem: | Unassigned |
| Summary: | flphoto will not compile due to configure script not detecting jgep and png |
| Version: | -current |
| Created By: | johnh123 |
| Assigned To: | Unassigned |
| Fix Version: | Unassigned |
| Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Dialog:
[ Post Text ]
| |
johnh123 23:55 Jun 13, 2008 | The configure script fails to detect libjpeg and libpng (both libraries and dev packages are correctly installed), the output of fltk-config is below. To work around I added --ldstaticflags to the fltk-config commands in configure then config.h had HAVE_LIBJPEG and HAVE_LIBPNG defined, flphoto then compiled and works correctly. This issue is not resolved by installing fltk v1.1.9 as --ldflags does not return -ljpeg -lpng either. This is on Ubuntu 7.10
As in configure.in $ fltk-config --use-images --ldflags -lfltk_images -lfltk
Static flags $ fltk-config --use-images --ldstaticflags /usr/lib/libfltk_images.a -lpng -ljpeg /usr/lib/libfltk.a -lXft -lXinerama -lpthread -lm -lX11 | |
|
| |