Robert Wyatt | 1 Feb 19:13
Picon
Gravatar

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 
(Continue reading)

Picon
Gravatar

Re: 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
(Continue reading)

Robert Wyatt | 1 Feb 22:10
Picon
Gravatar

Re: 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,
(Continue reading)

Will McChesney | 2 Feb 02:22
Picon
Favicon

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
(Continue reading)

David R. Morrison | 2 Feb 02:46
Favicon

Re: 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- 
(Continue reading)

David R. Morrison | 2 Feb 07:46
Favicon

Re: 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]
(Continue reading)

Alexander Hansen | 2 Feb 14:16
Picon
Gravatar

Re: libdnet-1.10-11 fails to compile


On 2/2/10 1:46 AM, David R. Morrison wrote:
> checking for gcc... no
>> checking for cc... no
>> checking for cc... no
>> checking for cl... no
>> configure: error: no acceptable cc found in $PATH
>> 

The fact that you can compile a version by hand doesn't mean anything if
Fink can't find the compilers from Xcode, and judging from the above,
you either don't have Xcode, or it's in a sufficiently non-standard
setup that the configure script can't find it.  (if you have a custom
setup where you point to the compiler via your PATH, that won't work,
because Fink deliberately unsets that).

But just for confirmation:  what do you get from running

	which gcc

at a terminal prompt?  If that's in the right place, then there may be
something wacky going on with how this version reacts to 10.6 (it's
happy on 10.5).

--

-- 
Alexander Hansen
Fink User Liaison
Viv Kendon | 2 Feb 15:01
Picon
Favicon

tcltk 8.4.19-2 build failure on 10.5

I'm getting

creating tkConfig.sh
                 make genstubs
/sw/bin/tclsh8.5 
/sw/src/fink.build/tcltk-8.4.19-2/tcl8.4.19/tools/genStubs.tcl 
/sw/src/fink.build/tcltk-8.4.19-2/tk8.4.19/unix/../generic \

/sw/src/fink.build/tcltk-8.4.19-2/tk8.4.19/unix/../generic/tk.decls 
/sw/src/fink.build/tcltk-8.4.19-2/tk8.4.19/unix/../generic/tkInt.decls
dyld: unknown required load command 0x80000022
make: *** [genstubs] Trace/BPT trap
### execution of /var/tmp/tmp.1.nJ5kDk failed, exit code 2

on 10.5 unstable with everything up to date to the point 
where this blocks update-all (I've rerun selfupdate and 
update-all until this is the first thing it tries to 
compile).

This machine was downgraded from 10.6 (reinstall of course) 
and fink was tar'd up and copied over from another machine. 
So I might have missed reinstalling something that is 
causing the problem...

many thanks,
-- Viv
________________________________________________
Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864      Physics and Astronomy
Quantum Information Group    University of Leeds
(Continue reading)

Alexander Hansen | 2 Feb 15:43
Picon
Gravatar

Re: tcltk 8.4.19-2 build failure on 10.5


On 2/2/10 9:01 AM, Viv Kendon wrote:
> I'm getting
> 
> creating tkConfig.sh
>                  make genstubs
> /sw/bin/tclsh8.5 
> /sw/src/fink.build/tcltk-8.4.19-2/tcl8.4.19/tools/genStubs.tcl 
> /sw/src/fink.build/tcltk-8.4.19-2/tk8.4.19/unix/../generic \
> 
> /sw/src/fink.build/tcltk-8.4.19-2/tk8.4.19/unix/../generic/tk.decls 
> /sw/src/fink.build/tcltk-8.4.19-2/tk8.4.19/unix/../generic/tkInt.decls
> dyld: unknown required load command 0x80000022
> make: *** [genstubs] Trace/BPT trap
> ### execution of /var/tmp/tmp.1.nJ5kDk failed, exit code 2
> 
> on 10.5 unstable with everything up to date to the point 
> where this blocks update-all (I've rerun selfupdate and 
> update-all until this is the first thing it tries to 
> compile).
> 
> This machine was downgraded from 10.6 (reinstall of course) 
> and fink was tar'd up and copied over from another machine. 
> So I might have missed reinstalling something that is 
> causing the problem...
> 
> many thanks,
> -- Viv
> ________________________________________________
> Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
(Continue reading)

Viv Kendon | 2 Feb 16:57
Picon
Favicon

Re: tcltk 8.4.19-2 build failure on 10.5

On Tue, 2 Feb 2010, Alexander Hansen wrote:

> On 2/2/10 9:01 AM, Viv Kendon wrote:
>> I'm getting
>>
>> creating tkConfig.sh
>>                  make genstubs
>> /sw/bin/tclsh8.5
>> /sw/src/fink.build/tcltk-8.4.19-2/tcl8.4.19/tools/genStubs.tcl
>>
>> on 10.5 unstable with everything up to date to the point
>> where this blocks update-all (I've rerun selfupdate and
>>
> The tcltk build process seems to like to look for "first tcltk in PATH",
> and tcltk-8.5 is only available in Fink for 64-bit, so unless you're
> using the not-officially-supported 10.5/x86_64 configuration, it's
> likely that this is causing things to be unhappy.
>
> Run 'dpkg -S /sw/bin/tclsh8.5' to see where that's coming from.  If it's

Fink didn't claim to own it, so I moved it aside and the 
build now works.

> Was the machine you copied Fink from running 10.5/64-bit, by chance?

No...I'm running 10.6/64-bit on another machine, but no 64 
bit on 10.5.  Hmmm.  I wonder if I untar'd over the 
10.6/64-bit /sw instead of removing it first?  It was a 
pretty hurried reinstall, I needed the machine to work and 
nfs mounted network home dirs are broken under 10.6 :-(
(Continue reading)


Gmane