[Mono-list] DESTDIR problem (on OS-X)

Markus W. Weissmann mww@opendarwin.org
Sat, 22 Nov 2003 01:23:49 +0100


On Nov 21, 2003, at 18:51, Andy Satori wrote:
> Is there any particular reason you are using 0.26 over 0.28? and are  
> you working with 10.2.x or 10.3.x?  While I did finally get a  
> successful build, but not a working installation on 10.2.8, I've not  
> had any luck getting 0.28 built on OS X 10.3.1.  I've slowly working  
> through the build errors.
>

stupid /me - I'n now using 0.28 (on 10.3.1), but the error stays the  
same :(
but I got no errors during 'make all'... or are you also getting errors  
on 'make install'?


mww

>
> On Nov 21, 2003, at 10:24 AM, Markus W. Weissmann wrote:
>
>> Hi folks,
>>
>> I'm trying to build and install Mono 0.26 on OS-X:
>> when making a 'make install DESTDIR=...", I'll get an error, as it  
>> seems it likes to do some
>> late linking and assumes the files to be in the final destination  
>> (/opt/local in this case), not in DESTDIR.
>> Can someone help me solve this one? I assume this is a OS-X specific  
>> bug;
>>
>> thanks,
>>
>> mww
>>
>> ---
>> /bin/sh ../../mkinstalldirs  
>> /Users/mww/Development/dports/devel/mono/work/destroot/opt/local/lib
>>  /bin/sh ../../libtool --mode=install /usr/bin/install -c   
>> libmono-profiler-cov.la  
>> /Users/mww/Development/dports/devel/mono/work/destroot/opt/local/lib/ 
>> libmono-profiler-cov.la
>> libtool: install: warning: relinking `libmono-profiler-cov.la'
>> (cd  
>> /Users/mww/Development/dports/devel/mono/work/mono-0.26/mono/ 
>> profiler; /bin/sh ../../libtool --mode=relink gcc -g -Wall -Wunused  
>> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  
>> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual  
>> -Wcast-align -Wwrite-strings -L/opt/local/lib -pthread -o  
>> libmono-profiler-cov.la -rpath /opt/local/lib mono-cov.lo  
>> ../../mono/mini/libmono.la -lpthread -inst-prefix-dir  
>> /Users/mww/Development/dports/devel/mono/work/destroot)
>> gcc -r -keep_private_externs -nostdlib -o  
>> .libs/libmono-profiler-cov.0.0.0.dylib-master.o  mono-cov.lo && gcc  
>> -dynamiclib -flat_namespace -undefined suppress -o  
>> .libs/libmono-profiler-cov.0.0.0.dylib  
>> .libs/libmono-profiler-cov.0.0.0.dylib-master.o  -L/opt/local/lib  
>> /opt/local/lib/libmono.dylib -lpthread -lc -install_name  
>> /opt/local/lib/libmono-profiler-cov.0.dylib -compatibility_version 1  
>> -current_version 1.0
>> gcc: /opt/local/lib/libmono.dylib: No such file or directory
>> libtool: install: error: relink `libmono-profiler-cov.la' with the  
>> above command before installing it
>> make[3]: *** [install-libLTLIBRARIES] Error 1
>> make[2]: *** [install-am] Error 2
>> make[1]: *** [install-recursive] Error 1
>> make: *** [install-recursive] Error 1
>>
>> ---
>> Markus W. Weissmann
>> http://www.mweissmann.de/
>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
---
Markus W. Weissmann
http://www.mweissmann.de/