From owner-freebsd-questions Sat Jan 8 4:11:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from willamette.cbn.net.id (willamette.cbn.net.id [202.158.3.6]) by hub.freebsd.org (Postfix) with SMTP id 7FF6114FDA for ; Sat, 8 Jan 2000 04:11:33 -0800 (PST) (envelope-from m4v3r1ck@bigfoot.com) Received: (qmail 83421 invoked by uid 1016); 8 Jan 2000 19:11:50 +0700 Received: from unknown (HELO mona.viper.com) (202.158.30.232) by willamette.cbn.net.id with SMTP; 8 Jan 2000 19:11:50 +0700 Received: (qmail 15082 invoked by uid 1001); 8 Jan 2000 12:09:09 -0000 Date: Sat, 8 Jan 2000 19:09:08 +0700 From: John Indra 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Homepage: http://www.bigfoot.com/~m4v3r1ck X-Mailer: Mutt 1.1.1i on FreeBSD 3.4-RELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----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