Compiling problem | Unix Linux Forums | Solaris

  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

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 08-25-2005
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:

Quote:
[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:

Quote:
PATH=/usr/bin:/usr/sfw/bin:/opt/sfw/bin:/usr/matlab/bin:/usr/local/cobol/bin:/usr/ccs/bin:/usr/local/TeX:/usr/local/bluej:/usr/local/eclipse:/home/cps250-n1.08/lib:/home/cps250-n1.08/lib/lib:/home/cps250-n1.08/lib/include:/home/cps250-n1.08/lib/share
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
    #2  
Old Unix and Linux 09-21-2005
RTM's Unix or Linux Image
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 17 October 2014, 8:46 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 33 Times in 9 Posts
Try adding the path to the library to your LD_LIBRARY_PATH.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image 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 12:58 PM
Problem in HP-UX compiling vasanthan HP-UX 1 04-20-2008 07:34 AM
Problem with Compiling C on Tiger cleansing_flame Programming 4 03-04-2008 07:01 PM
Problem compiling program rochitsharma Programming 28 07-23-2006 08:56 PM
Problem in PowerDNS compiling secret4all Solaris 0 10-12-2005 11:47 PM



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