Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Fri, 05 Feb 1999 23:23:27 +0000

Re: Another compile and install problem: on Solaris, too

Christian Groessler wrote:
> 
> Hello,
> 
> I just tried to compile the snapshot from 05-Feb-99 on a
> Solaris 2.5 X86 box.
> 
> Here's the first result: :-(
> 
> --------------
> make[2]: Entering directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input'
> Making all in null
> make[3]: Entering directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input/null'
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
> -I../../include -I../../include
>   -g -O2 -D_REENTRANT -D_THREAD_SAFE -g -Wall -c input.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -g -O2
> -D_REENTRANT -D_THREAD_SAFE -g
>  -Wall -Wp,-MD,.deps/input.p -c  -fPIC -DPIC input.c -o input.lo
> /bin/sh ../../libtool --mode=link gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -g
>  -Wall  -o null.la -rpath /opt
> /ggi/lib/ggi/input  -module -avoid-version -export-symbols ./EXPSYMS
> input.lo ../../gii/libgii.la
> mkdir .libs
> /usr/ucb/echo "{ global:" > .libs/null.so.exp
> sed ./EXPSYMS -e "s/.*/\1;/" >> .libs/null.so.exp
> Unrecognized command: ./EXPSYMS
> make[3]: *** [null.la] Error 2
> make[3]: Leaving directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input/null'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/net/ottokar/ggi-devel-990205/degas/lib/libgii'
> make: *** [all-recursive-am] Error 2
> silver:/net/ottokar/ggi-devel-990205/degas/lib/libgii$
> --------------
> 
> Hmm, OK, sed is /usr/bin/sed, let's try GNU sed...
> (downloaded, compiled and installed GNU sed)
> 
> Here's the 2nd result:
> 
> --------------
> make[2]: Entering directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input'
> Making all in null
> make[3]: Entering directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input/null'
> /bin/sh ../../libtool --mode=link gcc -g -O2 -D_REENTRANT -D_THREAD_SAFE -g
>  -Wall  -o null.la -rpath /opt/ggi/lib/ggi/input  -module -avoid-version
> -export-symbols ./EXPSYMS input.lo ../../gii/libgii.la
> rm -fr .libs/null.la .libs/null.* .libs/null.*
> /usr/ucb/echo "{ global:" > .libs/null.so.exp
> sed ./EXPSYMS -e "s/.*/\1;/" >> .libs/null.so.exp
> /usr/ucb/echo "local: CVS EXPSYMS Makefile Makefile.am Makefile.in input.c
> input.lo input.o }" >> .libs/null.so.exp
>  /usr/ccs/bin/ld -G -M ./EXPSYMS -h null.so -o .libs/null.so  input.lo
> ../../gii/.libs/libgii.so -lc
> ld: fatal: ./EXPSYMS: 2: expected a `=', `:', `|', or `@'
> make[3]: *** [null.la] Error 1
> make[3]: Leaving directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input/null'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/net/ottokar/ggi-devel-990205/degas/lib/libgii/input'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/net/ottokar/ggi-devel-990205/degas/lib/libgii'
> make: *** [all-recursive-am] Error 2
> silver:/net/ottokar/ggi-devel-990205/degas/lib/libgii$
> --------------
> 
> Now I could try to install GNU ld, but I think GGI would be more
> portable if the Makefile changes.... :-)

Did you re-make everything after installing GNU sed? Including 
re-running autogen.sh and then configure?

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]