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

Markus W. Weissmann mww@opendarwin.org
Fri, 21 Nov 2003 16:24:03 +0100

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  



/bin/sh ../../mkinstalldirs  
  /bin/sh ../../libtool --mode=install /usr/bin/install -c   
libtool: install: warning: relinking `libmono-profiler-cov.la'
/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  
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-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