------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139017 Summary: OS X 10.4.8 digikam fails to detect libjpeg6b during compile Product: digikam Version: 0.9.0 Platform: Mac OS X (Fink) OS/Version: other Status: UNCONFIRMED Severity: normal Priority: NOR Component: general AssignedTo: digikam-devel kde org ReportedBy: scottmillercomposer gmail com Version: 0.9.0 (using KDE KDE 3.5.5) Installed from: Mac OS X (Fink) Packages Compiler: gcc 4.0.1 apple OS: OS X I'm compiling digikam-0.9.0 in OS X 10.4.8. It finishes compiling fine, but with this one error during compile: checking for libjpeg6b... no checking for libjpeg... -ljpeg configure: WARNING: There is an installation error in jpeg support. You seem to have only one of either the headers _or_ the libraries installed. You may need to either provide correct --with-extra-... options, or the development package of libjpeg6b. You can get a source package of libjpeg from http://www.ijg.org/ Disabling JPEG support. It then fails during make with this output: if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../digikam/digikam -I../../../digikam/libs/dimg -I/sw/include -I/sw/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -I/sw/include -Dinline= -w -O2 -I/sw/include -MT digikamdcraw-dcraw.o -MD -MP -MF ".deps/digikamdcraw-dcraw.Tpo" -c -o digikamdcraw-dcraw.o `test -f 'dcraw.c' || echo './'`dcraw.c; \ then mv -f ".deps/digikamdcraw-dcraw.Tpo" ".deps/digikamdcraw-dcraw.Po"; else rm -f ".deps/digikamdcraw-dcraw.Tpo"; exit 1; fi /bin/sh ../../../libtool --silent --tag=CC --mode=link gcc -O2 -I/sw/include -L/sw/lib -o digikamdcraw -L/sw/lib -L/sw/lib/qt3/lib -L/usr/X11R6/lib -llcms digikamdcraw-dcraw.o /usr/bin/ld: Undefined symbols: _jpeg_CreateDecompress _jpeg_destroy_decompress _jpeg_finish_decompress _jpeg_read_header _jpeg_read_scanlines _jpeg_start_decompress _jpeg_std_error _jpeg_stdio_src collect2: ld returned 1 exit status make[4]: *** [digikamdcraw] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I've installed all fink libjpeg packages, as well as compiled the libjpeg library from www.ijg.org and it is installed: $ ls /sw/include/ | grep jpeg jpeglib.h $ ls /sw/lib/ | grep jpeg libimlib-jpeg.so libjpeg.62.0.0.dylib libjpeg.62.dylib libjpeg.a libjpeg.dylib libjpeg.la All other needed components are installed and detected: -- digiKam configure results ------------------- -- sqlite3 found.................. YES -- libgphoto2 found............... YES -- libkipi found.................. YES -- libtiff found.................. YES -- libpng found................... YES -- lcms found..................... YES -- Exiv2 library found............ YES ------------------------------------------------ Good - your configure finished. Start make now _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139017 ------- Additional Comments From caulier.gilles kdemail net 2006-12-20 07:19 ------- Scott, This sound is very interressing. We haven't a real report from a guy to have compiled digiKam & co under OSX. libjpeg detection is not include in automake rules actually because all Linux dist provide libjpeg developement package by default. Of course we can add a check for that. Are you installed this one on your computer ? Gilles Caulier _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Scott Miller-9
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139017 ------- Additional Comments From scottmillercomposer gmail com 2006-12-20 07:37 ------- Yes all of the needed components seems to compile fine, amazingly enough. I got this help from the gphoto list, which helped libgphoto2 compile: "nmedit -s .libs/libgphoto2-symbols.expsym .libs/libgphoto2.2.2.0.dylib nmedit: symbols names listed in: .libs/libgphoto2-symbols.expsym not in: /Users/stmiller/Desktop/libgphoto2-2.3.0/libgphoto2/.libs/ libgphoto2.2.2.0.dylib _gpi_gphoto_port_type_map make[2]: *** [libgphoto2.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 stmiller:~/Desktop/libgphoto2-2.3.0 stmiller$ I compiled with: $ ./configure --disable-nls I've searched for errors of this kind and cannot find any help. Can you remove the "gpi_gphoto_port_type_map" line from libgphoto2/libgphoto2.sym? Ciao, Marcus" ---- That did the trick. I then compiled Exiv2 from source with ./configure --prefix=/sw And the other components came from fink unstable, I believe. And so far so good! Except for the above error described in my initial report. Digikam finishes the configure, but will not make. Any suggestions would be great. Seems very close to success. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Scott Miller-9
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139017 ------- Additional Comments From caulier.gilles gmail com 2007-04-12 12:10 ------- Scott, Look this PDF file : http://www.linuxdays.lu/agenda/linuxdays-2007/pres-linuxdays_digikam-20070111_v0_1.pdf It can be instructive... Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Scott Miller-9
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139017 caulier.gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|general |Portability _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Scott Miller-9
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139017 ------- Additional Comments From bro.dudu gmail com 2007-12-16 04:50 ------- Hi, I had the same problem (would not compile because of libjpeg...), on MacOSX 10.4.10 with fink. After several try/miss, I add a -ljpeg in the Makefile.in in libkdcraw/dcraw, rigth before the make (after the configure, I am using the compiling script from the digikam web site to compile cvs, it's a pain in the ass, no other choice on macos). Still not compiling but, it's a new pb: acquireimagedialog.cpp:124: error: invalid conversion from 'void*' to 'const char*' I'll try to track it down but... not so confident. Cheers, Bruno D. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Scott Miller-9
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=139017 ------- Additional Comments From bro.dudu gmail com 2007-12-16 06:20 ------- Hi (again) Some more details: in libkdcraw/dcraw/Makefile.am - kdcraw_LDFLAGS = $(all_libraries) $(LIBJPEG) $(LCMS_LIBS) + kdcraw_LDFLAGS = $(all_libraries) -ljpeg $(LIBJPEG) $(LCMS_LIBS) at line 445 Then some plugins did not compile, so I just removed them (acquireimage, imageviewer), by comment proper lines in kipi-plugins/Makefile.am. This is not a very clean hack but it compiles! My guess about libjpeg: it seems other project than digikam have the same problem, and -ljpeg seems to miss in the compiling/linking line of the make. So because macosx is some how different from linux the handling of libjpeg has to be clean which does not seem to be the case with linux where it works nice in every case (must be handled by a more low level component). About the plugins: I don't know (for the imageviewer it has to do with GL...), and I don't want to know. Cheers. Keep going the great job. Bruno D. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |