Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jan 2000 19:09:08 +0700
From:      John Indra <m4v3r1ck@bigfoot.com>
To:        freebsd-questions@freebsd.org
Subject:   Can't get S-Lang 1.3.10 to compile on FreeBSD 3.4
Message-ID:  <20000108190908.A7017@bigfoot.com>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list readers...

I'm trying to compile S-Lang 1.3.10 on my new FreeBSD 3.4 box...

After I unpacked the tarball, as instructed, I run ./configure ; make
elf ; make install-elf ; make install-links
This steps worked just fine on my Red Hat Linux 6.0 box...
It appeared fine (on my FreeBSD box) to me on the first place (cause
there were no errors issued by ./configure nor make), but I
knew that there was something wrong when I can't get Mutt 1.1.1i to
compile against S-Lang 1.3.10. Mutt stops with this error:

[root@mona mutt-1.1.1]# ./configure --with-slang
[... various ./configure output snipped]
checking if I can compile a test SLang program... configure: error:
unable to compile.  check config.log
[root@mona mutt-1.1.1]# cat config.log
[previous lines snipped...]
configure:1826: gcc -o conftest -g -O2   conftest.c -ltermlib   -lslang
- -lm 1>&5

/usr/libexec/elf/ld: cannot open -lslang: No such file or directory
configure: failed program was:
#line 1819 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:1866: checking if I can compile a test SLang program
configure:1875: gcc -o conftest -g -O2   conftest.c  -lslang -lm 1>&5
/usr/libexec/elf/ld: cannot open -lslang: No such file or directory
configure: failed program was:
#line 1868 "configure"
#include "confdefs.h"

int main() {
SLtt_get_terminfo ();
; return 0; }
[root@mona mutt-1.1.1]#

FYI... Both Mutt 1.1.1i and S-Lang 1.3.10 compiled perfectly on my
previous Red Hat Linux 6.0 installation...

I've tried troubleshooting the problem myself...
First, I recompiled S-Lang, but this time, I compile it not as an ELF
object... Now... I noticed this output:

[root@mona slang-1.3.10]# ./configure
[snipped]
checking for dlopen in -ldl... no
configure: warning: cannot perform dynamic linking
[snipped]
checking for -ldl... (cached) no
configure: warning: cannot perform dynamic linking
[snipped]
[root@mona slang-1.3.10]# locate slang
/usr/local/include/slang.h
/usr/local/lib/libslang.a
/usr/local/lib/libslang.so
/usr/local/lib/libslang.so.1
/usr/local/lib/libslang.so.1.3.10

[root@mona slang-1.3.10]# ldconfig -aout /usr/lib/compat/aout
/usr/X11R6/lib/aout /usr/local/lib/aout
[root@mona slang-1.3.10]# ldconfig -elf /usr/lib/compat /usr/X11R6/lib
/usr/local/lib

Then. I tried to recompile Mutt, but still... no luck...

I'm sorry if this is the wrong list to ask, but I really appreciate it
if anyone can help me...

Thanks a million...

Regards,
John Indra -- ICQ UIN #26095019

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (FreeBSD)
Comment: Be the best!

iD8DBQE4dyjkxcp0HIxafmQRAqutAKDPoWEp7gtbpOCYHqPxb/i6+EF4QgCgqDge
agMmEAP/pBWp4fy2BR1G+8Y=
=Xrj6
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000108190908.A7017>