swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installing 1.4.1 on SuSE Linux 6.1 (help re objc?)


From: Jan Kreft
Subject: Re: installing 1.4.1 on SuSE Linux 6.1 (help re objc?)
Date: Mon, 21 Jun 1999 16:02:06 +0100 (BST)

Matt,

don't know whether that's relevant, but I don't have gnobjc installed,
only gcc, egcs, and gobjc. Also, I note you are using the old Tcl/Tk.
And I didn't change anything egcs-wise.

Here is a snippet from my notes of what I did:

SuSE 6.1 comes with:
libc glibc-2.0.7pre6
egcs egcs-1.1.2
gcc  gcc 2.7.2.3

Got from SFI:
BLT (install after tcl/tk)
gdb-binary (source didn't compile without problems, so used binary)
hdf5 (install this before R)
R
libffi (this is preferred over ffcall, less restrictive licence)
libpng (had this already, but installed additional copy under /usr/local) <- 
can't remember why
tcl
tk (install after tcl)
zlib (install this first, compiled as shared lib)

For tcl/tk:
configure --enable-gcc --disable-shared
And for blt:
configure --enable-gcc --disable-shared --with-tcl=/usr/local

Most tests of tcl/tk/blt work, however, there are same failing, but
probably not relevant (permission and windowmanager problems).

For Swarm:
configure --with-defaultdir=/usr/local --prefix=/home/jan/swarm-1.4.1 
--[en|dis]able-shared
(As all installs from source were "make install" into /usr/local)
Works both with static and shared libraries, however, there are some warnings 
in the shared lib case. Ignore.
No -fno-inline flag used since no pow() inlining bug.

HTH, Jan.

On Mon, 21 Jun 1999, maylward wrote:

> With the `gnobjc' and `gobjc' RPMs installed :
> /usr/lib/gcc-lib/i486-linux/egcs-2.91.66 contains :
> 
> cc1obj        f771          libg++.a      libg2c.a      libstdc++.a
> cc1plus       include/       libg++.so     libobjc.a     libstdc++.so
> 
> the /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/include dir has a subdir objc/
> containing :
> 
> NXConstStr.h   encoding.h     objc-list.h    thr.h
> Object.h       hash.h         objc.h         typedstream.h
> Protocol.h     objc-api.h     sarray.h
> 
> I have just left the c++ stuff as the egcs compile replaces everything else.
> 
> Now, using
> ./configure --with-bltdir=/usr/X11R6 --with-pngdir=/usr/X11R6 
> --host=i586-linux
> the Swarm compile errors are: --- OH DEAR --
> 
> Making all in tclobjc
> make[3]: Entering directory `/opt2/swarm/swarm-1.4.1/src/tclobjc'
> /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
> -I./../misc
> -I/usr/X11R6/include  -I/usr/local/include  -D_GNU_SOURCE -DList=TclObjcList
> -DTCL_LIBRARY=\"/usr/lib/tcl7.6\" -DTK_LIBRARY=\"/usr/X11R6/lib/tk4.2\"   -g 
> -O2
> -Wall -Wno-import -Wno-protocol -Werror -I/usr/X11R6/include 
> -Wno-implicit-int -c
> tclObjc.m
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../misc -I/usr/X11R6/include
> -I/usr/local/include -D_GNU_SOURCE -DList=TclObjcList
> -DTCL_LIBRARY=\"/usr/lib/tcl7.6\" -DTK_LIBRARY=\"/usr/X11R6/lib/tk4.2\" -g 
> -O2 -Wall
> -Wno-import -Wno-protocol -Werror -I/usr/X11R6/include -Wno-implicit-int -c 
> -fPIC
> -DPIC tclObjc.m
> In file included from tclObjc.m:87:
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66/include/objc/objc-api.h:381:
> `objc_malloc' redeclared as different kind of symbol
> objc-malloc.h:28: previous declaration of `objc_malloc'
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66/include/objc/objc-api.h:384:
> `objc_atomic_malloc' redeclared as different kind of symbol
> objc-malloc.h:29: previous declaration of `objc_atomic_malloc'
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66/include/objc/objc-api.h:390:
> `objc_realloc' redeclared as different kind of symbol
> objc-malloc.h:30: previous declaration of `objc_realloc'
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66/include/objc/objc-api.h:393:
> `objc_calloc' redeclared as different kind of symbol
> objc-malloc.h:31: previous declaration of `objc_calloc'
> /usr/local/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.66/include/objc/objc-api.h:396:
> `objc_free' redeclared as different kind of symbol
> objc-malloc.h:32: previous declaration of `objc_free'
> make[3]: *** [tclObjc.lo] Error 1
> make[3]: Leaving directory `/opt2/swarm/swarm-1.4.1/src/tclobjc'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt2/swarm/swarm-1.4.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt2/swarm/swarm-1.4.1'
> make: *** [all-recursive-am] Error 2
> 
> I give up
> 
> Cheers,
> Matt
> 
> 
> 
> 
>                   ==================================
>    Swarm-Support is for discussion of the technical details of the day
>    to day usage of Swarm.  For list administration needs (esp.
>    [un]subscribing), please send a message to <address@hidden>
>    with "help" in the body of the message.
> 
> 


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]