Hi Andrew-- thanks for the reply. I'd be happy to help out and do some
testing on Mac OS X.

 I looked into the whole -soname thing and found some obscure message
on some forum that mentioned to replace '-soname=' with
'-dylib_install_name," (replaced the "=" sign with a comma... I'm not
sure why). So, I changed -soname= with -dylib_install_name, in the
file trunk/build/mak/compiler/gcc.mak

 Then, here's the output I get from 'sudo make install':

mkdir -p out/mac.x86/release
mkdir -p out/mac.x86/release/libs/auxfun
mkdir -p out/mac.x86/release/libs/lensfun
mkdir -p out/mac.x86/release/tests/example
mkdir -p out/mac.x86/release/tests/tfun
mkdir -p out/mac.x86/release/tests/tmod
mkdir -p out/mac.x86/release/tests/trwxml
mkdir -p out/mac.x86/release/tools/makedep
COMPILE.GCC.CXX.SHARED libs/lensfun/auxfun.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/camera.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/database.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/lens.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/mod-color.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/mod-coord.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/mod-subpix.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/modifier.cpp
COMPILE.GCC.CXX.SHARED libs/lensfun/mount.cpp
LINK.GCC.SHARED out/mac.x86/release/liblensfun.dylib
ld warning: option -s is obsolete and being ignored
INSTALL out/mac.x86/release/liblensfun.dylib to /usr/local/lib/
cp: illegal option -- d
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-pvX] source_file ... target_directory
make: *** [install-lensfun] Error 64

So then, I found the illegal call in the following file:
compile/trunk/build/mak/host/mac.mak

 So I took out the -d from 'cp -d' in line 8 and -drP from 'cp -drP'
in line 14, and now it goes much further, but encounters another
error:

INSTALL out/mac.x86/release/liblensfun.dylib to /usr/local/lib/
INSTALL out/mac.x86/release/liblensfun.dylib.0.2.3 to /usr/local/lib/
INSTALL out/mac.x86/release/liblensfun.dylib.0 to /usr/local/lib/
INSTALL include/lensfun/lensfun.h to /usr/local/include/
INSTALL data/db/6x6.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-canon.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-casio.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-fujifilm.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-konica-minolta.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-leica.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-nikon.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-olympus.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-panasonic.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-pentax.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-ricoh.xml to /usr/local/share/lensfun/
INSTALL data/db/compact-sony.xml to /usr/local/share/lensfun/
INSTALL data/db/generic.xml to /usr/local/share/lensfun/
INSTALL data/db/rf-leica.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-canon.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-contax.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-konica-minolta.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-nikon.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-olympus.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-pentax.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-samsung.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-schneider.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-sigma.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-sony.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-tamron.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-tokina.xml to /usr/local/share/lensfun/
INSTALL data/db/slr-ussr.xml to /usr/local/share/lensfun/
DOXYGEN out/mac.x86/release/docs/manual
sed: 1: "docs/manual-doc.conf": extra characters at the end of d command
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for files to exclude
Searching for files to process...
Searching for files in directory /Users/Rishi/compile/trunk
Reading and parsing tag files
Reading /Users/Rishi/compile/trunk/ac.py...
Parsing file /Users/Rishi/compile/trunk/ac.py...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Creating members for template instances...
Computing class relations...
/Users/Rishi/compile/trunk/ac.py:121: Warning: Compound ac::compiler_gcc is not 
documented.
/Users/Rishi/compile/trunk/ac.py:186: Warning: Compound ac::compiler_msvc is 
not documented.
Add enum values to enums...
Searching for member function documentation...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding todo/test/bug list items...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Combining using relations...
Adding members to index pages...
Generating style sheet...
Generating index page...
Generating page index...
Generating example documentation...
Generating file sources...
Generating file documentation...
Generating page documentation...
Generating group documentation...
Generating group index...
Generating class documentation...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
Generating namespace index...
Generating namespace member index...
Generating graph info page...
Generating file index...
Generating example index...
Generating file member index...
INSTALLDIR out/mac.x86/release/docs/manual/ to 
/usr/local/share/doc/lensfun-0.2.3/manual/
cp: out/mac.x86/release/docs/manual/*: No such file or directory
make: *** [install-manual] Error 1

 And that's where I'm at right now... any ideas?

Thanks in advance for your help,
Rishi



------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to