Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Ben Abbott bpabbott at mac.com writes: Charles Lepple clepple at gmail.com writes: Does it still work on the Intel box? I haven't tested it, but it did compile without errors! Ben - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
* Charles Lepple on Wednesday, March 05, 2008 at 02:33:24 + Alexander Hansen alexanderk.hansen at gmail.com writes: Christian Ebert wrote: [...] In file included from ../../gui/npsdk/prtypes.h:58, from ../../gui/npsdk/npapi.h:51, from nsdejavu.c:123: ../../gui/npsdk/prcpucfg.h:650:2: error: #error Unknown CPU architecture Well, there's your error. I got it to compile by adding the following line in the PatchScript in the djvulibre.info file: perl -pi -e 's/__powerpc__./__powerpc__) || defined(__POWERPC__)/' gui/npsdk/prcpucfg.h I can confirm build w/o errors with this patch on 10.4.11 ppc. (Be sure that gui/npsdk/prcpucfg.h is part of the same line.) Sure ;) Thanks! c -- _B A U S T E L L E N_ lesen! --- http://www.blacktrash.org/baustellen.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Charles' solution worked for me! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
In article [EMAIL PROTECTED], Charles Lepple [EMAIL PROTECTED] wrote: I got it to compile by adding the following line in the PatchScript in the djvulibre.info file: perl -pi -e 's/__powerpc__./__powerpc__) || defined(__POWERPC__)/' gui/npsdk/prcpucfg.h (Be sure that gui/npsdk/prcpucfg.h is part of the same line.) This seems to work for me. Julien - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Ben Abbott bpabbott at mac.com writes: Charles' solution worked for me! Does it still work on the Intel box? (It should, but I don't have one to test with.) - Charles - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Charles Lepple clepple at gmail.com writes: Does it still work on the Intel box? (It should, but I don't have one to test with.) - Charles I haven't had the time to check. If anyone has tried, say the word. Otherwise, i'll try to get to it tomorrow. Ben - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Christian Ebert blacktrash at gmx.net writes: Hello, Building libdjvulibre fails on 10.4.11 like so (can also provide a full log): [snip] Probably not /that/ urgent for me, as I only need it as dependency for imagemagick, but fink update-all can get a bit cumbersome. c My attempt to update my installation on a PPC PowerBook running 10.5.2 failed last night. However, it compiled successfully on my Intel MacBookPro running 10.5.2. I removed libdjvulibre15-shlibs and its dependencies and will try to reinstall all of them after the fink update-all completes. In any event, the problem might be related to architecture or something else. Did the failure occur on a PPC or Intel based Mac? Ben - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
* Ben Abbott on Tuesday, March 04, 2008 at 15:41:51 + In any event, the problem might be related to architecture or something else. Did the failure occur on a PPC or Intel based Mac? ppc c -- _B A U S T E L L E N_ lesen! --- http://www.blacktrash.org/baustellen.html - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Christian Ebert wrote: Hello, Building libdjvulibre fails on 10.4.11 like so (can also provide a full log): creating djview make[2]: Circular Makefile.dep - Makefile.dep dependency dropped. /bin/sh ../../libtool --tag=disable-static --mode=compile gcc -I/usr/X11R6/include -I/sw/include -I/sw/include -DHAVE_CONFIG_H -DNDEBUG -Wall -O3 -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -I/usr/X11R6/include -c nsdejavu.c -o nsdejavu.lo mkdir .libs gcc -I/usr/X11R6/include -I/sw/include -I/sw/include -DHAVE_CONFIG_H -DNDEBUG -Wall -O3 -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -I/usr/X11R6/include -c nsdejavu.c -fno-common -DPIC -o .libs/nsdejavu.o cc1: warning: command line option -Wno-non-virtual-dtor is valid for C++/ObjC++ but not for C In file included from ../../gui/npsdk/prtypes.h:58, from ../../gui/npsdk/npapi.h:51, from nsdejavu.c:123: ../../gui/npsdk/prcpucfg.h:650:2: error: #error Unknown CPU architecture Well, there's your error. [ ... and so on ] Probably not /that/ urgent for me, as I only need it as dependency for imagemagick, but fink update-all can get a bit cumbersome. c What architecture are you on? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
In article [EMAIL PROTECTED], Alexander Hansen [EMAIL PROTECTED] wrote: ../../gui/npsdk/prcpucfg.h:650:2: error: #error Unknown CPU architecture Well, there's your error. I've got the very same error on my Powerbook G4 running Mac OS X 10.4.11. I only need it for octave-forge which depends on ImageMagick which depends on libdjvulibre... Bests, Julien - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
I just got the exact same problem while doing a fink update-all. What architecture are you on? I'm on a dual 1.8 GHz G5 running 10.4.11. uname -vp yields (line break added): Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC powerpc Alexander Hansen alexanderk.hansen at gmail.com writes: Christian Ebert wrote: Hello, Building libdjvulibre fails on 10.4.11 like so (can also provide a full log): [snip] ../../gui/npsdk/prcpucfg.h:650:2: error: #error Unknown CPU architecture What architecture are you on? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Alexander Hansen alexanderk.hansen at gmail.com writes: Christian Ebert wrote: [...] In file included from ../../gui/npsdk/prtypes.h:58, from ../../gui/npsdk/npapi.h:51, from nsdejavu.c:123: ../../gui/npsdk/prcpucfg.h:650:2: error: #error Unknown CPU architecture Well, there's your error. I got it to compile by adding the following line in the PatchScript in the djvulibre.info file: perl -pi -e 's/__powerpc__./__powerpc__) || defined(__POWERPC__)/' gui/npsdk/prcpucfg.h (Be sure that gui/npsdk/prcpucfg.h is part of the same line.) - C - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] compiling libdjvulibre15-shlibs fails on 10.4.11
Hello, Building libdjvulibre fails on 10.4.11 like so (can also provide a full log): g++ -o .libs/djview -DHAVE_CONFIG_H -I../.. -I../../libdjvu -I./ -I../../gui/indep/QT/ -I../../gui/indep/QX/ -I../../gui/indep/utils/ -I../../gui/shared/QT/ -I../../gui/shared/res/ -I../../gui/shared/utils/ -I. -DNDEBUG -Wall -O3 -Wno-non-virtual-dtor -DTHREADMODEL=POSIXTHREADS -I/sw/lib/qt3/include -I/usr/X11R6/include -I/usr/X11R6/include -I/sw/include -I/sw/include qx_imager.o qxlib.o qt_imager.o qt_painter.o qlib.o qlib_moc.o col_db.o execdir.o cin_data.o qd_wpaper.o qd_wpaper_moc.o qd_prefs.o qd_prefs_moc.o qd_welcome.o qd_welcome_moc.o qd_pane.o qd_pane_moc.o qd_base.o qd_base_moc.o qd_base_paint.o qd_base_events.o qd_base_ant.o MapAreas.o MapAreas_moc.o MapBorder.o MapDraw.o qd_painter.o qd_doc_info.o qd_doc_info_moc.o qd_nav_goto_page.o qd_nav_goto_page_moc.o qd_set_zoom.o qd_set_zoom_moc.o qd_port.o qd_port_moc.o qd_decoder.o qd_decoder_moc.o qd_toolbutt.o qd_toolbutt_moc.o qd_doc_saver.o qd_doc_saver_moc.o qd_thumb.o qd_thumb_moc.o qd_search_dialog.o qd_search_dialo g_moc.o qd_print_dialog.o qd_print_dialog_moc.o init_qt.o qd_messenger.o qd_messenger_moc.o qd_toolbar.o qd_toolbar_moc.o qd_tbar_mode_piece.o qd_tbar_mode_piece_moc.o qd_tbar_nav_piece.o qd_tbar_nav_piece_moc.o qd_tbar_print_piece.o qd_tbar_print_piece_moc.o qd_tbar_rotate_piece.o qd_tbar_rotate_piece_moc.o qd_page_saver.o qd_thr_yielder.o GMarginCache.o djvu_file_cache.o io.o prefs.o mime_utils.o saved_data.o netscape.o dispatch.o mime_check.o qd_viewer.o qd_viewer_moc.o qd_viewer_shell.o qd_viewer_shell_moc.o qd_viewer_prefs.o qd_viewer_prefs_moc.o qd_viewer_menu.o djvu_viewer.o djvu_viewer_moc.o qd_mime_dialog.o qd_mime_dialog_moc.o qd_about_dialog.o qd_about_dialog_moc.o main.o ppm_djvu_logo.o ppm_vzoom_in.o ppm_vzoom_out.o ppm_vnpage.o ppm_vppage.o ppm_vfpage.o ppm_vlpage.o ppm_vdjvu.o ppm_vpin_out.o ppm_vpin_in.o ppm_djview_icon.o bmp_djview_front.o ppm_vprint.o ppm_vfind.o ppm_vsave.o ppm_rotate90.o ppm_rotate270.o ppm_zoomselect.o ppm_textselect.o ppm_hand1.o ppm_ba ck.o ppm_forw.o -framework OpenGL -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -Wl,-bind_at_load ../../libdjvu/.libs/libdjvulibre.dylib -L/sw/lib -L/sw/lib/qt3/lib /sw/lib/qt3/lib/libqt-mt.dylib -L/sw/lib/freetype219/lib -L/usr/X11R6/lib -lresolv -lz -lGL -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft /sw/lib/freetype219/lib/libfreetype.dylib -lfontconfig -ldl -lSM -lICE -lXext -lX11 /sw/lib/libjpeg.dylib /sw/lib/libiconv.dylib -lm creating djview make[2]: Circular Makefile.dep - Makefile.dep dependency dropped. /bin/sh ../../libtool --tag=disable-static --mode=compile gcc -I/usr/X11R6/include -I/sw/include -I/sw/include -DHAVE_CONFIG_H -DNDEBUG -Wall -O3 -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -I/usr/X11R6/include -c nsdejavu.c -o nsdejavu.lo mkdir .libs gcc -I/usr/X11R6/include -I/sw/include -I/sw/include -DHAVE_CONFIG_H -DNDEBUG -Wall -O3 -Wno-non-virtual-dtor -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -I/usr/X11R6/include -c nsdejavu.c -fno-common -DPIC -o .libs/nsdejavu.o cc1: warning: command line option -Wno-non-virtual-dtor is valid for C++/ObjC++ but not for C In file included from ../../gui/npsdk/prtypes.h:58, from ../../gui/npsdk/npapi.h:51, from nsdejavu.c:123: ../../gui/npsdk/prcpucfg.h:650:2: error: #error Unknown CPU architecture In file included from ../../gui/npsdk/npapi.h:51, from nsdejavu.c:123: ../../gui/npsdk/prtypes.h:301:2: error: #error No suitable type for PRInt8/PRUint8 ../../gui/npsdk/prtypes.h:326:2: error: #error No suitable type for PRInt16/PRUint16 ../../gui/npsdk/prtypes.h:358:2: error: #error No suitable type for PRInt32/PRUint32 ../../gui/npsdk/prtypes.h:421:2: error: #error 'sizeof(int)' not sufficient for platform use In file included from ../../gui/npsdk/npapi.h:51, from nsdejavu.c:123: ../../gui/npsdk/prtypes.h:444: error: parse error before 'PROffset32' ../../gui/npsdk/prtypes.h:444: warning: type defaults to 'int' in declaration of 'PROffset32' ../../gui/npsdk/prtypes.h:444: warning: data definition has no type or storage class ../../gui/npsdk/prtypes.h:475: error: parse error before 'PRBool' ../../gui/npsdk/prtypes.h:475: warning: type defaults to 'int' in declaration of 'PRBool' ../../gui/npsdk/prtypes.h:475: warning: data definition has no type or storage class ../../gui/npsdk/prtypes.h:485: error: parse error before 'PRPackedBool' ../../gui/npsdk/prtypes.h:485: warning: type defaults to 'int' in declaration of 'PRPackedBool' ../../gui/npsdk/prtypes.h:485: warning: data definition has no type or storage class ../../gui/npsdk/prtypes.h:498: error: parse error before 'PRUnichar' ../../gui/npsdk/prtypes.h:498: warning: type defaults to 'int' in