Re: [Fink-users] fink libdjvulibre15-shlibs
Fink cannot possibly support compiling in all situations, particularly ones where Fink has no control over what has been installed where (such as MacPorts). I'm happy to learn that you see no compiling errors when you uninstall MacPorts. -- Dave On Sep 26, 2009, at 7:46 AM, Norman MacIntyre wrote: libdjvulibre15-shlibs won't compile on 10.6 in 32-bit mode with MacPorts installed (64-bit mode). It does compile with MacPorts uninstalled. 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 -mtune=i386 - DTHREADMODEL=POSIXTHREADS -I/sw/lib/qt3/include -I/usr/X11/include - I/sw/include -I/usr/X11R6/include -I/opt/local/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_dialog_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_back.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/ opt/local/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 / opt/local/lib/libXrender.dylib -lXrandr -lXcursor -lXinerama -lXft / sw/lib/freetype219/lib/libfreetype.dylib /opt/local/lib/ libfontconfig.dylib /opt/local/lib/libSM.dylib /opt/local/lib/ libICE.dylib -ldl -L/usr/X11/lib /opt/local/lib/libXext.dylib /opt/ local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/ libXdmcp.dylib /sw/lib/libjpeg.dylib /sw/lib/libiconv.dylib -lm ld: warning: in /opt/local/lib/libz.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libXrender.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libfontconfig.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libSM.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libICE.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libXext.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libX11.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libXau.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libXdmcp.dylib, file is not of required architecture Undefined symbols: _XInitExtension, referenced from: XShmInitializer::Initialize(_XDisplay*) in qx_imager.o _XQueryColors, referenced from: QXImager::allocateCell(int, int, int)in qx_imager.o _XrmCombineFileDatabase, referenced from: DjVuPrefs::load() in prefs.o _XCloseDisplay, referenced from: AttachWindow() in dispatch.o _XParseGeometry, referenced from: QeApplication::setWidgetGeometry(QWidget*) in qlib.o _XCreateImage, referenced from: QXImager::displayPatchedBitmaps(unsigned long, _XGC*, DJVU::GRect const, int, int, DJVU::GBitmap*, DJVU::GPListQXImager::PatchRect const, int)in qx_imager.o QXImager::displayBitmap(unsigned long, _XGC*, DJVU::GRect const, int, int, DJVU::GBitmap*, int)in qx_imager.o
Re: [Fink-users] kdesvn-kde4-x11-1.4.0-1002
Ok, I installed openssl098-shlib and I get past that point. It will build but won't install: The following package will be installed or updated: kdesvn-kde4-x11 Reading buildlock packages... Could not resolve inconsistent dependencies! Fink isn't sure how to install the above packages safely. You may be able to fix things by running: fink scanpackages sudo apt-get update sudo apt-get install kdesvn-kde4-x11=1.4.0-1002 Failed: Fink::SysState: Could not resolve inconsistent dependencies So I ran those commands and it said: Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: bundle-kde4-ssl-x11 bundle-kde4-x11 kdesdk4-x11 kdesdk4-x11-svn- ioslave kdesdk4-x11-svn-provider The following NEW packages will be installed: kdesvn-kde4-x11 0 packages upgraded, 1 newly installed, 5 to remove and 0 not upgraded. Need to get 0B/2550kB of archives. After unpacking 5771kB will be used. Do you want to continue? [Y/n] n Of course I said NO. I didn't want to uninstall the bundle-kde4-ssl- x11 etc What gives? Cant this package be used with the bundle-kde4-ssl-x11? On Sep 25, 2009, at 10:23 PM, monipol wrote: On 25/09/2009, at 22:27, Adam Skwersky wrote: This package is failing to build because it can't find the libcrypto.0.9.8 library, I think. I'm not sure which package this library gets installed with. That'd be openssl098-shlibs. The following package will be installed or updated: kdesvn-kde4-x11 Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-kdesvn-kde4- x11-1.4.0-1002 /sw/src/fink.build dpkg-deb: building package `fink-buildlock-kdesvn-kde4- x11-1.4.0-1002' in `/sw/src/fink.build/fink-buildlock-kdesvn-kde4- x11-1.4.0-1002_2009.09.25-21.25.40_darwin-i386.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-kdesvn- kde4-x11-1.4.0-1002_2009.09.25-21.25.40_darwin-i386.deb Selecting previously deselected package fink-buildlock-kdesvn-kde4- x11-1.4.0-1002. (Reading database ... 53609 files and directories currently installed.) Unpacking fink-buildlock-kdesvn-kde4-x11-1.4.0-1002 (from .../fink- buildlock-kdesvn-kde4-x11-1.4.0-1002_2009.09.25-21.25.40_darwin- i386.deb) ... Setting up fink-buildlock-kdesvn-kde4-x11-1.4.0-1002 (2009.09.25-21.25.40) ... bzip2 -dc /sw/src/kdesvn-1.4.0.tar.bz2 | /sw/bin/tar -xf - --no- same-owner --no-same-permissions /var/tmp/tmp.1.pPNTTQ #!/bin/sh -ev export PATH=/sw/lib/gettext-tools-0.17/bin:/sw/opt/kde4/x11/bin:/ sw/lib/qt4-x11/bin:$PATH CMAKE_PREFIX_PATH=/sw/opt/kde4/x11:/sw/ opt/soprano/x11 cmake -DCMAKE_INSTALL_PREFIX:PATH=/sw/opt/kde4/x11 - DCMAKE_LIBRARY_PATH:PATH=/sw/opt/kde4/x11/lib - DCMAKE_INSTALL_NAME_DIR:PATH=/sw/opt/kde4/x11/lib - DSUBVERSION_INCLUDE_DIR:PATH=/sw/include/subversion-1 - DSUBVERSION_INSTALL_PATH:PATH=/sw . dyld: Library not loaded: /sw/lib/libcrypto.0.9.8.dylib Referenced from: /sw/bin/cmake Reason: image not found /var/tmp/tmp.1.pPNTTQ: line 3: 21918 Trace/BPT trap cmake - DCMAKE_INSTALL_PREFIX:PATH=/sw/opt/kde4/x11 - DCMAKE_LIBRARY_PATH:PATH=/sw/opt/kde4/x11/lib - DCMAKE_INSTALL_NAME_DIR:PATH=/sw/opt/kde4/x11/lib - DSUBVERSION_INCLUDE_DIR:PATH=/sw/include/subversion-1 - DSUBVERSION_INSTALL_PATH:PATH=/sw . ### execution of /var/tmp/tmp.1.pPNTTQ failed, exit code 133 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-kdesvn-kde4-x11-1.4.0-1002 (Reading database ... 53610 files and directories currently installed.) Removing fink-buildlock-kdesvn-kde4-x11-1.4.0-1002 ... Failed: phase compiling: kdesvn-kde4-x11-1.4.0-1002 failed \ -- Package manager version: 0.29.9 Distribution version: selfupdate-rsync Fri Sep 25 21:22:18 2009, 10.5, i386 Mac OS X version: 10.5.8 Xcode version: 3.1.2 gcc version: 4.0.1 (Apple Inc. build 5490) make version: 3.81 Cheers, -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] kdesvn-kde4-x11-1.4.0-1002
Adam Skwersky wrote: Ok, I installed openssl098-shlib and I get past that point. It will build but won't install: The following package will be installed or updated: kdesvn-kde4-x11 Reading buildlock packages... Could not resolve inconsistent dependencies! Fink isn't sure how to install the above packages safely. You may be able to fix things by running: fink scanpackages sudo apt-get update sudo apt-get install kdesvn-kde4-x11=1.4.0-1002 Failed: Fink::SysState: Could not resolve inconsistent dependencies So I ran those commands and it said: Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: bundle-kde4-ssl-x11 bundle-kde4-x11 kdesdk4-x11 kdesdk4-x11-svn-ioslave kdesdk4-x11-svn-provider The following NEW packages will be installed: kdesvn-kde4-x11 0 packages upgraded, 1 newly installed, 5 to remove and 0 not upgraded. Need to get 0B/2550kB of archives. After unpacking 5771kB will be used. Do you want to continue? [Y/n] n Of course I said NO. I didn't want to uninstall the bundle-kde4-ssl-x11 etc What gives? Cant this package be used with the bundle-kde4-ssl-x11? No, it cannot. My understanding is that its svn stuff collides with the svn stuff from kdesdk4-x11-svn-ioslave, so they can't coexist. Removing just the bundle package and the sdk stuff doesn't remove _everything_, as the bundle just depends on the rest of KDE but doesn't actually install anything on its own. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] opengl-py25 builds with minimal patching on 64-bit fink (Mac OS 10.5.x)
Hi, I doscovered that opengl-py25 does not build on my 64-bit fink installation (Mac OS 10.5.*) simply because /sw64/bin/tclsh8.4 does not exist (not sure why). Going however to /sw64/bin/tclsh8.5 causes the thing to build fine. I am not sure if it actually works mind you (I have yet to install some other things to test). Here is the patch in case it is useful. Cheers, Stefan --- opengl-py.old 2009-09-26 14:27:30.0 -0400 +++ opengl-py.info 2009-09-26 14:29:11.0 -0400 @@ -48,7 +48,7 @@ PatchFile-MD5: 0693832a4d1f639468c5d3548cd92dd2 PatchScript: #!/bin/bash -ev - tclver=`echo 'puts $tcl_version' | %p/bin/` + tclver=`echo 'puts $tcl_version' | %p/bin/tclsh8.5` sed -e s|@@FINKPREFIX@@|%p|g %{PatchFile} | \ sed -e s|@@TCL_VER@@|$tclver|g | patch -p1 perl -pi -e 's|arrayobject.h|ufuncobject.h|g' setup/dist.py @@ -63,7 +63,7 @@ %p/bin/python%type_raw[python] setup.py build if [ %type_raw[-nox] == . ]; then - tclver=`echo 'puts $tcl_version' | %p/bin/tclsh8.4` + tclver=`echo 'puts $tcl_version' | %p/bin/tclsh8.5` ( cd src/Togl-1.6 make ) || exit 1 cp src/Togl-1.6/togl.so build/Togl-1.6-tk${tclver}/ fi -- If it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic. --Lewis Carroll, Through the Looking-Glass -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] sdl-mixer-1.2.8-12 build fails (64-bit, Mac OS 10.5.*)
Hi, While installing pygame-py25 I get stuck on sdl-mixer-1.2.8-12, whose build fails. On a first look it appears like a missing header but I did not have the time to dig deeper. Any advice is appreciated. This all happens on a 64-bit fink under Mac OS 10.5.8, Xcode 3.1.3. gcc -I/sw64/include -D_GNU_SOURCE=1 -I/sw64/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DUSE_NATIVE_MIDI -I./native_midi -DOGG_MUSIC -DMP3_MUSIC -I/sw64/include -I/sw64/include/smpeg -I/sw64/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c ./native_midi/native_midi_mac.c -fno-common -DPIC -o build/.libs/native_midi_mac.o ./native_midi/native_midi_mac.c:51: error: 'NoteRequest' undeclared here (not in a function) ./native_midi/native_midi_mac.c:79: error: syntax error before 'gTunePlayer' ./native_midi/native_midi_mac.c:79: warning: initialization makes integer from pointer without a cast ./native_midi/native_midi_mac.c:79: warning: data definition has no type or storage class ./native_midi/native_midi_mac.c: In function 'native_midi_loadsong': ./native_midi/native_midi_mac.c:134: warning: comparison between pointer and integer ./native_midi/native_midi_mac.c:135: error: 'kTunePlayerComponentType' undeclared (first use in this function) ./native_midi/native_midi_mac.c:135: error: (Each undeclared identifier is reported only once ./native_midi/native_midi_mac.c:135: error: for each function it appears in.) ./native_midi/native_midi_mac.c:135: warning: assignment makes integer from pointer without a cast ./native_midi/native_midi_mac.c: In function 'native_midi_loadsong_RW': ./native_midi/native_midi_mac.c:197: warning: comparison between pointer and integer ./native_midi/native_midi_mac.c:198: error: 'kTunePlayerComponentType' undeclared (first use in this function) ./native_midi/native_midi_mac.c:198: warning: assignment makes integer from pointer without a cast ./native_midi/native_midi_mac.c: In function 'native_midi_freesong': ./native_midi/native_midi_mac.c:239: warning: comparison between pointer and integer ./native_midi/native_midi_mac.c:241: warning: passing argument 1 of 'CloseComponent' makes pointer from integer without a cast ./native_midi/native_midi_mac.c:242: warning: assignment makes integer from pointer without a cast ./native_midi/native_midi_mac.c: In function 'native_midi_start': ./native_midi/native_midi_mac.c:251: warning: comparison between pointer and integer ./native_midi/native_midi_mac.c:260: error: 'kTuneStartNow' undeclared (first use in this function) ./native_midi/native_midi_mac.c: In function 'native_midi_stop': ./native_midi/native_midi_mac.c:310: warning: comparison between pointer and integer ./native_midi/native_midi_mac.c: In function 'native_midi_active': ./native_midi/native_midi_mac.c:322: warning: comparison between pointer and integer ./native_midi/native_midi_mac.c:324: error: 'TuneStatus' undeclared (first use in this function) ./native_midi/native_midi_mac.c:324: error: syntax error before 'ts' ./native_midi/native_midi_mac.c:326: error: 'ts' undeclared (first use in this function) ./native_midi/native_midi_mac.c: In function 'native_midi_setvolume': ./native_midi/native_midi_mac.c:335: warning: comparison between pointer and integer ./native_midi/native_midi_mac.c: In function 'BuildTuneSequence': ./native_midi/native_midi_mac.c:432: error: 'kFirstDrumkit' undeclared (first use in this function) ./native_midi/native_midi_mac.c:434: error: 'kFirstGMInstrument' undeclared (first use in this function) ./native_midi/native_midi_mac.c:504: error: 'kControllerVolume' undeclared (first use in this function) ./native_midi/native_midi_mac.c:516: error: 'kControllerPan' undeclared (first use in this function) ./native_midi/native_midi_mac.c:567: error: 'kControllerPitchBend' undeclared (first use in this function) ./native_midi/native_midi_mac.c:618: error: 'kEndMarkerValue' undeclared (first use in this function) ./native_midi/native_midi_mac.c: In function 'BuildTuneHeader': ./native_midi/native_midi_mac.c:627: error: 'myNoteRequest' undeclared (first use in this function) ./native_midi/native_midi_mac.c:628: error: 'NoteAllocator' undeclared (first use in this function) ./native_midi/native_midi_mac.c:628: error: syntax error before 'myNoteAllocator' ./native_midi/native_midi_mac.c:633: error: 'myNoteAllocator' undeclared (first use in this function) ./native_midi/native_midi_mac.c:638: error: 'kNoteAllocatorComponentType' undeclared (first use in this function) ./native_midi/native_midi_mac.c:661: error: 'kGeneralEventNoteRequest' undeclared (first use in this function) ./native_midi/native_midi_mac.c:662: error: syntax error before ')' token ./native_midi/native_midi_mac.c:688: error: 'kEndMarkerValue' undeclared (first use in this function) make: *** [build/native_midi_mac.lo] Error 1 ### execution of make failed, exit code 2 Many thanks in advance, Stefan --
[Fink-users] swi-prolog fix for compilation
I managed to get swi-prolog to compile and install under 64bit Snow Leopard by modifying the ConfigureParams line in the swi-prolog.info file to include --x-includes=/usr/X11R6/include --x-libraries=/usr/ X11R6/lib. In more detail: cp /sw/fink/10.6/unstable/main/finkinfo/languages/swi-prolog.info /sw/ fink/10.6/local/main/finkinfo/swi-prolog.info vi /sw/fink/10.6/local/main/finkinfo/swi-prolog.info bump revision to 3, then look for ConfigureParams: --mandir=%p/share/ man --enable-shared --with-world and change to ConfigureParams: --mandir=%p/share/man --enable-shared --with-world -- x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib fink index fink install swi-prolog xpce and swipl both start, and some basic prolog commands seem to work -- I am not proficient with prolog, so I can't really fully test it, but as I said, it seems to start up fine. Is there another mailing list or person I should forward this information to as well? -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] sdl-mixer-1.2.8-12 build fails (64-bit, Mac OS 10.5.*)
Hi, At 19:01 -0400 on 2009-9-26 Daniel Johnson wrote: On Sep 26, 2009, at 3:02 PM, Stefan Bruda wrote: While installing pygame-py25 I get stuck on sdl-mixer-1.2.8-12, whose build fails. On a first look it appears like a missing header but I did not have the time to dig deeper. Any advice is appreciated. This all happens on a 64-bit fink under Mac OS 10.5.8, Xcode 3.1.3. The maintainer is aware of the situation. Unfortunately, there's no quick fix. sdl-mixer uses the QuickTimeMusic API which doesn't exist in 64 bit, and will have to be rewritten to use CoreAudio. Thank you very much for the info. It looks like the 64-bit fink tree is not for me yet... Stefan -- If it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic. --Lewis Carroll, Through the Looking-Glass -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users