Ticket #472 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Error Attempting to build Obby for MacPorts

Reported by: highwayoflife@… Owned by: armin
Priority: normal Milestone:
Component: Gobby Version:
Severity: normal Keywords:
Cc: Launchpad Bug:

Description

Attempting to install the obby library (required for Gobby) via MacPorts produces the following error.

Mac OS X: 10.6.1 Ports: 1.8.0 XCode: 3.2

sudo port install obby
--->  Computing dependencies for obby
--->  Fetching obby
--->  Verifying checksum(s) for obby
--->  Extracting obby
--->  Configuring obby
--->  Building obby
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_obby/work/obby-0.4.6" && /usr/bin/make -j2 all " returned error 2
Command output: Making all in po
make[1]: Nothing to be done for `all'.
Making all in inc
/usr/bin/make  all-am
make[2]: Nothing to be done for `all-am'.
Making all in src
Making all in serialise
/bin/sh ../../libtool --tag=CXX   --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include    -I/opt/local/include  -O2 -arch i386 -MT libserialise_la-error.lo -MD -MP -MF .deps/libserialise_la-error.Tpo -c -o libserialise_la-error.lo `test -f 'error.cpp' || echo './'`error.cpp
/bin/sh ../../libtool --tag=CXX   --mode=compile /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include    -I/opt/local/include  -O2 -arch i386 -MT libserialise_la-token.lo -MD -MP -MF .deps/libserialise_la-token.Tpo -c -o libserialise_la-token.lo `test -f 'token.cpp' || echo './'`token.cpp
mkdir .libs
 /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include -I/opt/local/include -O2 -arch i386 -MT libserialise_la-error.lo -MD -MP -MF .deps/libserialise_la-error.Tpo -c error.cpp  -fno-common -DPIC -o .libs/libserialise_la-error.o
 /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -D_REENTRANT -I/opt/local/include/sigc++-2.0 -I/opt/local/lib/sigc++-2.0/include -I/opt/local/include -I/opt/local/include -O2 -arch i386 -MT libserialise_la-token.lo -MD -MP -MF .deps/libserialise_la-token.Tpo -c token.cpp  -fno-common -DPIC -o .libs/libserialise_la-token.o
i686-apple-darwin10-g++-4.2.1: @addcflags@: No such file or directory
i686-apple-darwin10-g++-4.2.1: @addcflags@: No such file or directory
make[2]: *** [libserialise_la-error.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [libserialise_la-token.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.

Change History

Changed 4 years ago by armin

What net6 version are you building against?

Changed 4 years ago by highwayoflife@…

Looks like net6 v1.3.9_0

Changed 4 years ago by armin

I think this is a problem that has been fixed in net6 1.3.10. Can you try with that version?

Changed 4 years ago by highwayoflife@…

I would be happy to, but I'm unsure how to obtain 1.3.10, since 1.3.9 appears to be the latest in the MacPorts list...

Thanks for the assistance!

Changed 4 years ago by armin

1.3.10 is available on our releases page - http://releases.0x539.de/net6/net6-1.3.10.tar.gz. I am not sure what this MacPorts thing exactly is; I hope you are able to compile this without it if it doesn't have 1.3.10.

Changed 4 years ago by highwayoflife@…

MacPorts == Darwin Ports This is how you install Gobby with a Mac. :) I'm attempting to do real-time code collaboration between Windows users, Linux users and Mac Users.

Changed 4 years ago by armin

Any success when building against 1.3.10?

Changed 4 years ago by SubtleBugIsSubtle--butEasy

The following lines should fix your problem

cd /opt/local/lib/pkgconfig sudo cp net6-1.3.pc net6-1.3.pc.bak sudo nano net6-1.3.pc

remove the "@addcflags@"

save the buffer and exit

sudo port clean --all obby sudo port install gobby

Changed 4 years ago by highwayoflife@…

AH! that was the trick! worked like a charm... Obby successfully built. And Gobby successfully built on Mac OS X 10.6 Snow Leopard. LOVING IT!!!

Armin, I apologize, I didn't get the chance to try the 1.3.10 build... I downloaded it, but then saw the comment come through today that did the trick.

Changed 4 years ago by armin

  • status changed from new to closed
  • resolution set to fixed

Should really be fixed in 1.3.10. Please reopen if not.

Note: See TracTickets for help on using tickets.