[Fink-users] new package opencpn
Hello everyone, I'm taking a stab at making a new package from an existing project, opencpn, and have come across the error below. I believe I need to take this question back to the upstream developers, but I also wanted to see if anyone here had any advice particularly regarding wxWidgets. (Project page for OpenCPN: http://sourceforge.net/projects/opencpn/) I'm running the current unstable 64-bit fink on a late 2006 17 MBP (2.33 GHz intel core 2 duo). I'm using the only version of wxWidgets that I've been able to build so far which is wxgtk2.8 (64-bit, intel, unstable). This is the complete build log: http://robertwyatt.info/fink/opencpn/opencpn-1.3.6-0.txt ... and here is my rudimentary info file in progress: http://robertwyatt.info/fink/opencpn/opencpn.info (Naturally the source file is not on the mirrors yet, so you'll need to download from the original source URL if you want to try to build it.) Any help is much appreciated! Thanks, Robert g++ -Wall -g -DocpnUSE_GTK_OPTIMIZE -DUSE_S57 -DUSE_GLU_TESS -I/sw/include -Wall -g -fexceptions -fno-stack-protector -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -L/sw/lib -L/System/Library/Frameworks/OpenGL.framework/Libraries -o opencpn bbox.o ocpn_pixel.o chart1.o chartdb.o chartdbs.o chartimg.o chcanv.o concanv.o cutil.o georef.o navutil.o nmea.o routeman.o routeprop.o statwin.o tcmgr.o thumbwin.o options.o wvschart.o about.o ais.o cm93.o latlong.o long.o nmea0183.o response.o rmb.o sentence.o talkerid.o rmc.o hexvalue.o lat.o expid.o wpl.o rte.o hdt.o hdg.o hdm.o gll.o vtg.o scrollingdialog.o grib.o GribReader.o GribRecord.o zuFile.o IsoLine.o blocksort.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o s52cnsy.o s52plib.o s52utils.o s57chart.o mygeom.o tri.o ddffielddefn.o ddfmodule.o ddfrecord.o ddfsubfielddefn.o ddffield.o ddfutils.o ddfrecordindex.o cpl_conv.o cpl_csv.o cpl_dir.o cpl_error.o cpl_findfile.o cpl_minixml.o cpl_path.o cpl_string.o cpl_vsisimple.o cplgetsymbol.o ograssemblepolygon.o ogrcurve.o ogrfeature.o ogrfeaturedefn.o ogrfielddefn.o ogrgeometry.o ogrgeometrycollection.o ogrgeometryfactory.o ogrlinearring.o ogrlinestring.o ogrmultilinestring.o ogrmultipoint.o ogrmultipolygon.o ogrpoint.o ogrpolygon.o ogrs57datasource.o ogrlayer.o ogrs57layer.o ogrutils.o s57classregistrar.o s57featuredefns.o s57reader.o gdal_misc.o macsercomm.o macutils.o -L/sw/lib -L/sw/lib/fontconfig2/lib -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -L/usr/X11R6/lib -L/sw/lib -L/sw/lib -framework IOKit -framework CoreServices -framework System -framework ApplicationServices -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lGL -lGLU Undefined symbols: _g_type_check_instance_cast, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o _gtk_widget_get_type, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o _gzclose, referenced from: _zu_close in zuFile.o _gzopen, referenced from: _zu_open in zuFile.o _gzread, referenced from: _zu_read in zuFile.o _gzseek, referenced from: _zu_seek in zuFile.o _zu_seek in zuFile.o _gztell, referenced from: _zu_seek in zuFile.o _zu_seek in zuFile.o _gtk_widget_modify_bg, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [opencpn] Error 1 -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] new package opencpn
On 01 Feb 2010, at 19:13, Robert Wyatt wrote: Undefined symbols: _g_type_check_instance_cast, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o _gtk_widget_get_type, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o _gzclose, referenced from: _zu_close in zuFile.o _gzopen, referenced from: _zu_open in zuFile.o _gzread, referenced from: _zu_read in zuFile.o _gzseek, referenced from: _zu_seek in zuFile.o _zu_seek in zuFile.o _gztell, referenced from: _zu_seek in zuFile.o _zu_seek in zuFile.o _gtk_widget_modify_bg, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o You need in addition -lgtk-x11-2.0 -lgobject-2.0 -lz in tis linking. (You can find this yourself using grep and nm) JF Mertens -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] new package opencpn
Jean-François Mertens wrote: On 01 Feb 2010, at 19:13, Robert Wyatt wrote: Undefined symbols: _g_type_check_instance_cast, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o _gtk_widget_get_type, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o _gzclose, referenced from: _zu_close in zuFile.o _gzopen, referenced from: _zu_open in zuFile.o _gzread, referenced from: _zu_read in zuFile.o _gzseek, referenced from: _zu_seek in zuFile.o _zu_seek in zuFile.o _gztell, referenced from: _zu_seek in zuFile.o _zu_seek in zuFile.o _gtk_widget_modify_bg, referenced from: MyFrame::UpdateToolbar(ColorScheme) in chart1.o You need in addition -lgtk-x11-2.0 -lgobject-2.0 -lz in tis linking. (You can find this yourself using grep and nm) JF Mertens Thank you Jean-François, I know this tells me everything I should need to know, but even with the answer, I can't figure it out (I guess it's time I picked up C++ for dummies!). I try something along these lines: nm -o /usr/lib/* | grep gzseek and get something like this: /usr/lib/libz.dylib: 7d87 T _gzseek So I think that is where you get -lz and I'm sure there's something similar for -lgtk-x11-2.0 and -lgobject-2.0 but I'm not at all sure which directory I should be looking in for those. Anyhow, I do appreciate your help. I suppose the next step is to patch the source file with a patch script in my info file so the linker calls those files. I'm still muddling about trying to figure out how best to do that. Best regards, Robert -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] libdnet-1.10-11 fails to compile
Hi everyone! I am attempting to install Nessus on 10.6 using Fink Package manager version: 0.29.10 Distribution version: selfupdate-rsync Mon Feb 1 20:10:38 2010, 10.6, i386 I keep running into the problem listed below, i can download and compile completely libdnet 1.11, however that does not fulfill the requirements. Any help here would be most appreciated. Information about 8130 packages read in 1 seconds. The following package will be installed or updated: libdnet The following additional package will be installed: libdnet1-shlibs Do you want to continue? [Y/n] Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libdnet-1.10-11 /sw/src/fink.build dpkg-deb: building package `fink-buildlock-libdnet-1.10-11' in `/sw/src/fink.build/fink-buildlock-libdnet-1.10-11_2010.02.01-20.17.56_darwin-i386.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-libdnet-1.10-11_2010.02.01-20.17.56_darwin-i386.deb Selecting previously deselected package fink-buildlock-libdnet-1.10-11. (Reading database ... 48470 files and directories currently installed.) Unpacking fink-buildlock-libdnet-1.10-11 (from .../fink-buildlock-libdnet-1.10-11_2010.02.01-20.17.56_darwin-i386.deb) ... Setting up fink-buildlock-libdnet-1.10-11 (2010.02.01-20.17.56) ... Cleaning up .la files being installed gzip -dc /sw/src/libdnet-1.10.tar.gz | /sw/bin/tar -xf - --no-same-owner --no-same-permissions ./configure --prefix=/sw --without-check --without-python --enable-shared --enable-static --disable-dependency-tracking --with-pic --mandir=/sw/src/fink.build/root-libdnet-1.10-11/sw/share/man --infodir=/sw/share/info --libexecdir=/sw/lib checking for a BSD compatible install... config/install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable cc found in $PATH ### execution of ./configure failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-libdnet-1.10-11 (Reading database ... 48471 files and directories currently installed.) Removing fink-buildlock-libdnet-1.10-11 ... Failed: phase compiling: libdnet-1.10-11 failed -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libdnet-1.10-11 fails to compile
I'm not seeing where any of the nessus packages depend on libdnet. Which fink package are you actually trying for? On Feb 1, 2010, at 5:22 PM, Will McChesney wrote: Hi everyone! I am attempting to install Nessus on 10.6 using Fink Package manager version: 0.29.10 Distribution version: selfupdate-rsync Mon Feb 1 20:10:38 2010, 10.6, i386 I keep running into the problem listed below, i can download and compile completely libdnet 1.11, however that does not fulfill the requirements. Any help here would be most appreciated. Information about 8130 packages read in 1 seconds. The following package will be installed or updated: libdnet The following additional package will be installed: libdnet1-shlibs Do you want to continue? [Y/n] Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libdnet-1.10-11 / sw/src/fink.build dpkg-deb: building package `fink-buildlock-libdnet-1.10-11' in `/sw/ src/fink.build/fink-buildlock- libdnet-1.10-11_2010.02.01-20.17.56_darwin-i386.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock- libdnet-1.10-11_2010.02.01-20.17.56_darwin-i386.deb Selecting previously deselected package fink-buildlock- libdnet-1.10-11. (Reading database ... 48470 files and directories currently installed.) Unpacking fink-buildlock-libdnet-1.10-11 (from .../fink-buildlock- libdnet-1.10-11_2010.02.01-20.17.56_darwin-i386.deb) ... Setting up fink-buildlock-libdnet-1.10-11 (2010.02.01-20.17.56) ... Cleaning up .la files being installed gzip -dc /sw/src/libdnet-1.10.tar.gz | /sw/bin/tar -xf - --no-same- owner --no-same-permissions ./configure --prefix=/sw --without-check --without-python --enable- shared --enable-static --disable-dependency-tracking --with-pic -- mandir=/sw/src/fink.build/root-libdnet-1.10-11/sw/share/man -- infodir=/sw/share/info --libexecdir=/sw/lib checking for a BSD compatible install... config/install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable cc found in $PATH ### execution of ./configure failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-libdnet-1.10-11 (Reading database ... 48471 files and directories currently installed.) Removing fink-buildlock-libdnet-1.10-11 ... Failed: phase compiling: libdnet-1.10-11 failed -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] libdnet-1.10-11 fails to compile
There is now a new version, libdnet-1.10-12, which should work. On Feb 1, 2010, at 5:55 PM, Will McChesney wrote: Hi Thanks for the quick reply, Im not sure if this is the info that you need, but I am attempting to install Nessus using fink. Everything goes fine until i get to libdnet. It cant seem to find where I have any compilers installed. libdnet 1.11 compiles fine when i download the tar directly from sourceforge, however 1.10 fails in the same way as the fink deb when directly downloaded from sourceforge as well. fink install nessus Information about 8130 packages read in 0 seconds. fink needs help picking an alternative to satisfy a virtual dependency. The candidates: (1) nessus-common: Core package for Nessus (2) nessus-common-nox: Core package for Nessus Pick one: [1] The following package will be installed or updated: nessus The following 8 additional packages will be installed: libdnet1-dev libdnet1-shlibs libnasl3 libnasl3-shlibs libnessus3 libnessus3-shlibs nessus-common nessus-plugins Do you want to continue? [Y/n] Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libdnet-1.10-11 / sw/src/fink.build dpkg-deb: building package `fink-buildlock-libdnet-1.10-11' in `/sw/ src/fink.build/fink-buildlock- libdnet-1.10-11_2010.02.01-20.50.51_darwin-i386.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock- libdnet-1.10-11_2010.02.01-20.50.51_darwin-i386.deb Selecting previously deselected package fink-buildlock- libdnet-1.10-11. (Reading database ... 48470 files and directories currently installed.) Unpacking fink-buildlock-libdnet-1.10-11 (from .../fink-buildlock- libdnet-1.10-11_2010.02.01-20.50.51_darwin-i386.deb) ... Setting up fink-buildlock-libdnet-1.10-11 (2010.02.01-20.50.51) ... Cleaning up .la files being installed gzip -dc /sw/src/libdnet-1.10.tar.gz | /sw/bin/tar -xf - --no-same- owner --no-same-permissions ./configure --prefix=/sw --without-check --without-python --enable- shared --enable-static --disable-dependency-tracking --with-pic -- mandir=/sw/src/fink.build/root-libdnet-1.10-11/sw/share/man -- infodir=/sw/share/info --libexecdir=/sw/lib checking for a BSD compatible install... config/install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable cc found in $PATH ### execution of ./configure failed, exit code 1 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-libdnet-1.10-11 (Reading database ... 48471 files and directories currently installed.) Removing fink-buildlock-libdnet-1.10-11 ... Failed: phase compiling: libdnet-1.10-11 failed Before reporting any errors, please run fink selfupdate and try again. If you continue to have issues, please check to see if the FAQ on fink's website solves the problem. If not, ask on the fink- users or fink-beginners mailing lists, with a carbon copy to the maintainer: Justin F. Hallett the...@users.sourceforge.net Note that this is preferable to emailing the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. On Feb 1, 2010, at 8:46 PM, David R. Morrison wrote: I'm not seeing where any of the nessus packages depend on libdnet. Which fink package are you actually trying for? On Feb 1, 2010, at 5:22 PM, Will McChesney wrote: Hi everyone! I am attempting to install Nessus on 10.6 using Fink Package manager version: 0.29.10 Distribution version: selfupdate-rsync Mon Feb 1 20:10:38 2010, 10.6, i386 I keep running into the problem listed below, i can download and compile completely libdnet 1.11, however that does not fulfill the requirements. Any help here would be most appreciated. Information about 8130 packages read in 1 seconds. The following package will be installed or updated: libdnet The following additional package will be installed: libdnet1-shlibs Do you want to continue? [Y/n] Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock- libdnet-1.10-11 /sw/src/fink.build dpkg-deb: building package `fink-buildlock-libdnet-1.10-11' in `/ sw/src/fink.build/fink-buildlock- libdnet-1.10-11_2010.02.01-20.17.56_darwin-i386.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i