Skip to main content.
home | support | download

Back to List Archive

Re: installing swish-e on a Linux machine without gcc

From: Peter Karman <peter(at)not-real.peknet.com>
Date: Thu Dec 29 2005 - 16:13:46 GMT
see this thread about one way to do this:

http://swish-e.org/archive/2005-09/9989.html

you need the buildswishe.pl script, a link to which is included in the
email above.

pek


> 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
>
>


-- 
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Thu Dec 29 08:13:50 2005