- Subject: Re: no cut and paste between xjed and kde-apps
- From: rex <rex@xxxxxxxxxxxx>
- Date: Sat, 27 Sep 2003 17:23:08 -0700
rex <rex@xxxxxxxxxxxx> [2003-09-27 16:41]:
Looking for slang.h in /usr/local/include
and libslang.a in /usr/local/lib
Found it.
creating ./config.status
creating Makefile
creating src/Makefile
creating src/sysconf.h
src/sysconf.h is unchanged
You need to edit src/Makefile if the following are not correct:
CC = gcc
CFLAGS = -g -O2 -fno-strength-reduce
JED_ROOT = /usr/local/jed/jed
cd src; make jed
make[1]: Entering directory `/usr/local/src/jed-0.99-16/src'
gcc -g -O2 -fno-strength-reduce -I/usr/X11R6/include -Dunix -DJED
-I/usr/local/include /usr/local/src/jed-0.99-16/src/chkslang.c -o
/usr/local/src/jed-0.99-16/src/objs/chkslang -L/usr/local/lib -lslang
-lutil -lm
if /usr/local/src/jed-0.99-16/src/objs/chkslang jed 10311 ;\
then exit 0; else rm -f /usr/local/src/jed-0.99-16/src/objs/chkslang; exit
1; fi
******
slang.h does not match slang library version. Did you install slang as
as a shared library? Did you run ldconfig? You have an installation
problem
and you will need to check the SLANG variables in the Makefile and properly
set them. Also try: make clean; make
******
make[1]: *** [slangversion] Error 1
make[1]: Leaving directory `/usr/local/src/jed-0.99-16/src'
make: *** [jed] Error 2
Perhaps if someone can point out what magic has to be done to make Jed
compile, all of us can have a version of XJed that we can paste from.
/usr/local/src/jed-0.99-16/src/Makefile has:
# S-Lang library location
#---------------------------------------------------------------------------
# -L + Location of libslang.a
SLANG_LIB = -L/usr/local/lib
# -I + Location of slang.h
SLANG_INC = -I/usr/local/include
and the files are in the respective directories, both files created today
from the slang-1.4.9 compilation. So why is the Jed compile barfing?
The failure is in jed-0.99-16/src/chkslang.c, so as a crude hack I
commented out the version test. Jed and Xjed then compile w/o error, but
when Xjed is run the warning:
***Warning: Executable compiled against S-Lang 10409 but linked to 10408
appears, but it runs.
Sadly, pasting from Xjed to konsole still fails. Pasting from Jed running
in a konsole window works (but, IIRC, it always has).
-rex
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]