swarm-support
[Top][All Lists]
Advanced

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

New User-make problems (Redhat 5.1)-Repost


From: Krishnan Viswanathan
Subject: New User-make problems (Redhat 5.1)-Repost
Date: Wed, 04 Nov 1998 14:26:54 -0500

Hi,
***********************************************************************
I had posted this earlier, but it seems not to have gone through hence I am
posting it again. My apologies to anyone getting this email twice.
***********************************************************************

I am new user to Swarm and am facing some problems with the make file. I
installed Swarm-1.3.1 for Redhat Linux 5.1. I edited the Makefile to point
to my Swarm path and then ran make for the SimpleCBug program given in the
Tutorial. After running make I got the following:

-----------------------------------------------------------------------$make
/usr/bin/libtool-swarm --mode link egcs -g -O2 -fno-inline -L/usr/lib/swarm
-Wl,-rpath,/usr/lib/swarm -L/usr/lib  -L/usr/X11/lib
-Wl,-rpath,/usr/X11/lib  -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib
-L/usr/lib -Wl,-rpath,/usr/lib -L/usr/X11/lib   -o bug main.o   -lspace
-lanalysis -lsimtools -lsimtoolsgui -ltkobjc -ltclobjc -lactivity -lrandom
-lobjectbase -lcollections -ldefobj -lmisc -lBLT -ltk8.0 -ltcl8.0 -lXpm
-lpng -lz -lffi -lX11  -lm -lobjc -lpthread -ldl 
egcs -g -O2 -fno-inline -L/usr/lib/swarm -Wl,-rpath,/usr/lib/swarm
-L/usr/lib -L/usr/X11/lib -Wl,-rpath,/usr/X11/lib -L/usr/lib -L/usr/lib
-Wl,-rpath,/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/X11/lib -o bug
main.o -lspace -lanalysis -lsimtools -lsimtoolsgui -ltkobjc -ltclobjc
-lactivity -lrandom -lobjectbase -lcollections -ldefobj -lmisc -lBLT
-ltk8.0 -ltcl8.0 -lXpm -lpng -lz -lffi -lX11 -lm -lobjc -lpthread -ldl
/usr/bin/ld: cannot open -lXpm: No such file or directory
collect2: ld returned 1 exit status
make: *** [bug] Error 1
----------------------------------------------------------------------

I checked to see whether I had xpm installed, I found the following files,
Xpm.tcl and Xpm1.tcl. I then downloaded xpm-3.4k-linux and unpacked it into
usr/X11R6/lib/X11/ . On checking the directory 
structure, I found the following files related to xpm:

./home/krishnan/xpm-3.4k-linux.tgz
./home/krishnan/xpm-README.html
./usr/X11R6/bin/xpmroot
./usr/X11R6/bin/xpm-3.4k-linux.tgz
./usr/X11R6/bin/xpm-3.4k-linux
./usr/X11R6/bin/xpm-3.4k-linux/include/X11/xpm.h
./usr/X11R6/include/X11/xpm.h
./usr/X11R6/man/man1/xpmroot.1
./usr/bin/xpmtoppm
./usr/doc/xpm-devel-3.4j
./usr/doc/xpm-devel-3.4j/xpm-doc-A4.PS
./usr/doc/xpm-devel-3.4j/xpm.FAQ
./usr/doc/xpm-devel-3.4j/xpm.README
./usr/doc/xpm-devel-3.4j/xpm_examples.tar.gz
./usr/doc/xpm-devel-3.4j/xpm-tutorial.PS
./usr/man/man1/xpmtoppm.1

However, on trying to use to install xpm using imake, I got the following,

---------------------------------------------------------------------
$xmkmf
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
imake: No such file or directory
imake: No description file
stop
---------------------------------------------------------------------

I changed the Imake.cf file to point to Linux and also on checking, I found
the following files:

./usr/X11R6/lib/X11/config/Imake.cf
./usr/X11R6/lib/X11/config/Imake.rules
./usr/X11R6/lib/X11/config/Imake.tmpl
./usr/doc/xpaint-2.4.9/Doc/Imakefile
./usr/doc/xpilot-3.6.2/doc/Imakefile
./usr/doc/xpilot-3.6.2/doc/man/Imakefile
./usr/X11R6/bin/imake
./usr/X11R6/man/man1/imake.1x

I do not how to proceed and would really appreciate it if anyone could
point me in the right direction.

Thanks for the help,
Krishnan

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