Skip to main content.
home | support | download

Back to List Archive

installing swish-e on a Linux machine without gcc

From: Philippe de Rochambeau <pderochambeau(at)not-real.iht.com>
Date: Mon Dec 26 2005 - 16:21:11 GMT
Hello,

is it possible to install swish-e on a Linux machine without gcc  
(machine A), by compiling the source on a machine that has gcc  
(machine B) and copying the shared libraries, binaries, etc. over to  
machine A?

If so, what is the cleanest and safest way of doing this?

I have tried tarring up the src directory on machine B, untarring it  
on machine B and doing a 'make install', but to no avail because the  
Makefile keeps asking for gcc:

Making install in src
make[1]: Entering directory `/usr/local/src/swish-e-2.4.3/src'
Making install in expat
make[2]: Entering directory `/usr/local/src/swish-e-2.4.3/src/expat'
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. - 
I../../src  -I"./xmlparse" -I"./xmltok"   -g -O2 -MT xmltok.lo -MD - 
MP -MF ".deps/xmltok.Tpo" \
   -c -o xmltok.lo `test -f 'xmltok.c' || echo './'`xmltok.c; \
then mv -f ".deps/xmltok.Tpo" ".deps/xmltok.Plo"; \
else rm -f ".deps/xmltok.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I./xmlparse -I./xmltok -g - 
O2 -MT xmltok.lo -MD -MP -MF .deps/xmltok.Tpo -c xmltok.c  -fPIC - 
DPIC -o .libs/xmltok.o
./../libtool: line 1: gcc: command not found
make[2]: *** [xmltok.lo] Error 1
make[2]: Leaving directory `/usr/local/src/swish-e-2.4.3/src/expat'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/swish-e-2.4.3/src'
make: *** [install-recursive] Error 1
[root@webiht11-dumpty swish-e-2.4.3]# swish-e
err: Missing parameter.  Use -h for options.
.
[root@webiht11-dumpty swish-e-2.4.3]#


Many thanks.

Philippe
Received on Mon Dec 26 08:21:16 2005