nscontrol fails to compile in Mac OSX 10.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nightshade Legacy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
For Nightshade 10.5.1:
After installing the appropriate pre-requisites as indicated in the INSTALL file, nscontrol fails to compile.
Initially, it failed to include header files for boost in nshade_
Then the link phase fails with:
libtool: link: g++ -dynamiclib -o .libs/libnscont
Undefined symbols:
"NshadeComman
_
"NshadeComman
_
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libnscontrol.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The full compile works on LInux (Ubuntu 10.4), although it could be noted that running "sudo ldconfig" after installing pre-requisite libraries is required or the link ok nightshade willl fail with missing SDL libraries.
Steve
Changed in nightshade: | |
status: | New → Fix Committed |
I'm unable to reproduce this problem on my MacBook; osx 10.6.3. Can you provide a little more information regarding software versions on your system. The following versions may shed some light.
Macports, boost, libtool, autoconf, automake, g++
I run the following command to configure.
env CCPFLAGS= "-I/opt/ local/include" ./configure
Followed by a 'make'. Explicitly setting the ldflags causes my build to fail, although in a different way. If you need to set it then LDFLAGS='$LDFLAGS -L/opt/local/lib' may be better.
Sent from my iPad
On May 4, 2010, at 6:08 PM, Steve Paras-Charlton <email address hidden> wrote:
> Public bug reported: shared_ memory. h and nshade_ shared_ memory_ connection. h. This was -I/opt/ local/include and -L/opt/ local/lib prior to running ./configure. rol.0.dylib .libs/nshade_ shared_ memory. o .libs/nshade_ shared_ memory_ connection. o -L/opt/local/lib -install_name /usr/local/ lib/libnscontro l.0.dylib -compatibility_ version 1 -current_version 1.1 -Wl,-single_module :szBuf" , referenced from: mand5szBufE$ non_lazy_ ptr in nshade_ shared_ memory_ connection. o :szResponse" , referenced from: mand10szRespons eE$non_ lazy_ptr in nshade_ shared_ memory_ connection. o /bugs.launchpad .net/bugs/ 575508 shared_ memory. h and nshade_ shared_ memory_ connection. h. This was fixed by setting CPPFLAGS= -I/opt/ local/include and LDFLAGS= -L/opt/ local/lib prior to running ./configure. rol.0.dylib .libs/nshade_ shared_ memory. o .libs/nshade_ shared_ memory_ connection. o -L/opt/local/lib -install_name /usr/local/ lib/libnscontro l.0.dylib -compatibility_ version 1 -current_version 1.1 -Wl,-single_module :szBuf" , referenced from: mand5szBufE$ non_lazy_ ptr in ns...
>
> For Nightshade 10.5.1:
>
> After installing the appropriate pre-requisites as indicated in the
> INSTALL file, nscontrol fails to compile.
>
> Initially, it failed to include header files for boost in
> nshade_
> fixed by setting CPPFLAGS=
> LDFLAGS=
>
> Then the link phase fails with:
>
> libtool: link: g++ -dynamiclib -o .libs/libnscont
> Undefined symbols:
> "NshadeCommand:
> __ZN13NshadeCom
> "NshadeCommand:
> __ZN13NshadeCom
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [libnscontrol.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> The full compile works on LInux (Ubuntu 10.4), although it could be
> noted that running "sudo ldconfig" after installing pre-requisite
> libraries is required or the link ok nightshade willl fail with missing
> SDL libraries.
>
> Steve
>
> ** Affects: nightshade
> Importance: Undecided
> Status: New
>
> --
> nscontrol fails to compile in Mac OSX 10.5
> https:/
> You received this bug notification because you are a member of
> Nightshade, which is subscribed to Nightshade.
>
> Status in Nightshade: New
>
> Bug description:
> For Nightshade 10.5.1:
>
> After installing the appropriate pre-requisites as indicated in the INSTALL file, nscontrol fails to compile.
>
> Initially, it failed to include header files for boost in nshade_
>
> Then the link phase fails with:
>
> libtool: link: g++ -dynamiclib -o .libs/libnscont
> Undefined symbols:
> "NshadeCommand:
> __ZN13NshadeCom