dseshadri20 / oscpack

Automatically exported from code.google.com/p/oscpack
Other
0 stars 0 forks source link

make install issues on Mac OS X Lion (10.7.2) #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. running `sudo make install`

What is the expected output? What do you see instead?

Successful installation.  However, I get two errors.  First, before I touch the 
Makefile:

$ sudo make install
g++ -shared -Wl,-soname,liboscpack.so -o liboscpack.so.1.0.2 
./ip/IpEndpointName.o ./ip/posix/NetworkingUtils.o ./ip/posix/UdpSocket.o 
./osc/OscOutboundPacketStream.o ./osc/OscPrintReceivedElements.o 
./osc/OscReceivedElements.o ./osc/OscTypes.o -lc
ld: unknown option: -soname
collect2: ld returned 1 exit status
make: *** [liboscpack.so.1.0.2] Error 1

This can be resolved using this tip (unrelated to oscpack): 
http://stackoverflow.com/a/8424297/1111289

However, then a second issue comes up...which I don't think is an issue, 
'ldconfig' just has to be removed from Makefile:

$ sudo make install
g++ -shared -Wl,-install_name,liboscpack.so -o liboscpack.so.1.0.2 
./ip/IpEndpointName.o ./ip/posix/NetworkingUtils.o ./ip/posix/UdpSocket.o 
./osc/OscOutboundPacketStream.o ./osc/OscPrintReceivedElements.o 
./osc/OscReceivedElements.o ./osc/OscTypes.o -lc
SUCCESS! oscpack has been installed in /usr/local/lib and 
/usr/local/include/ospack/
now doing ldconfig...
make: ldconfig: No such file or directory
make: *** [install] Error 1

...if I understand ldconfig's function properly, it's just meant to make 
symbolic links to lib files, which apparently is already taken care of on Mac 
OS X.

What version of the product are you using? On what operating system?

oscpack 1.0.2
GNU Make 3.81
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) 
(LLVM build 2336.1.00)
Darwin MN11111001.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 
20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64

Please provide any additional information below.

Anything else you need drop me a line.

Original issue reported on code.google.com by ddellaco...@gmail.com on 22 Feb 2012 at 3:58

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks. This should be fixed in revision 98 (r98). If you get a chance please 
test the version in SVN. Reopen the ticket if you still have issues.

Original comment by ross.bencina on 4 Mar 2013 at 11:05