Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Compiling problem


Thread Tools Search this Thread Display Modes
Old Unix and Linux 08-25-2005   -   Original Discussion by iandunn
iandunn iandunn is offline
Registered User
Join Date: Aug 2005
Last Activity: 17 July 2008, 9:02 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Compiling problem

I'm trying to install the jed text editor on a SunOS 5.10 box. It depends on the s-lang library, which I installed to ~/lib. I'm trying to install jed to ~/jed (it's a box @ my university, so I don't have rights to install globally), but when I run make I get this error:

[cps250-n1.08@sun131-13 jed-0.99-16] make
cd src; make jed
gcc -g -O2 -fno-strength-reduce -Dunix -DJED -I/home/cps250-n1.08/slang/src /home/cps250-n1.08/jed-0.99-16/src/chkslang.c -o /home/cps250-n1.08/jed-0.99-16/src/objs/chkslang -L/home/cps250-n1.08/slang/src/objs -lslang -lsocket -lnsl -lm
/home/cps250-n1.08/jed-0.99-16/src/chkslang.c:20:19: slang.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `/home/cps250-n1.08/jed-0.99-16/src/objs/chkslang'
Current working directory /home/cps250-n1.08/jed-0.99-16/src
*** Error code 1
make: Fatal error: Command failed for target `jed'
It looks like it can't find the s-lang library, but my PATH is:

So it shouldn't have any trouble finding it, I don't think, but it's been awhile since I've used *nix. slang.h is located in ~/lib/include
Sponsored Links
Old Unix and Linux 09-21-2005   -   Original Discussion by iandunn
RTM's Unix or Linux Image
RTM RTM is offline Forum Advisor  
Registered User
Join Date: Apr 2002
Last Activity: 16 August 2017, 7:13 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 34 Times in 9 Posts
Try adding the path to the library to your LD_LIBRARY_PATH.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Compiling samba problem enkei17 UNIX for Dummies Questions & Answers 0 07-15-2010 01:58 PM
Problem in HP-UX compiling vasanthan HP-UX 1 04-20-2008 08:34 AM
Problem with Compiling C on Tiger cleansing_flame Programming 4 03-04-2008 08:01 PM
Problem compiling program rochitsharma Programming 28 07-23-2006 09:56 PM
Problem in PowerDNS compiling secret4all Solaris 0 10-13-2005 12:47 AM

All times are GMT -4. The time now is 07:07 PM.