LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2007, 08:49 PM   #1
CaptSilver
LQ Newbie
 
Registered: Nov 2007
Distribution: Ubuntu 16.04 amd64
Posts: 21

Rep: Reputation: 1
Making sdl-dev


I have made and installed sdl from source files. Another file requires sdl and sdl-dev to compile. How do I link the src files with the sdl-dev path? or do I have to reconfigure and install again?

PS. This is an oversimplification of my problem. I am using slackware 12.0 and I dont' know much about linux commands. I am a CS student and I thought it would be instructional for learning more command lines to use a "simplier" nix without all the GUIs.
 
Old 11-16-2007, 02:03 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
If you installed SDL from source, the "dev" files should have been installed. These are files like C headers and a script sdl-config. The headers would have been installed in ${PREFIX}/include/SDL and the script in ${PREFIX}/bin where ${PREFIX} is the prefix you installed SDL into (/usr/local by default). Whatever you're trying to build is probably looking for sdl-config to figure out where everything else is installed. Is the location of sdl-config in your PATH?

Also, SDL has several additional packages (e.g., sdl_gfx, sdl_ttf, sdl_net, etc.). It's not one of these that the failing package is looking for is it? Why don't you post the actual errors you're getting from the failing package?
 
Old 11-16-2007, 03:15 PM   #3
CaptSilver
LQ Newbie
 
Registered: Nov 2007
Distribution: Ubuntu 16.04 amd64
Posts: 21

Original Poster
Rep: Reputation: 1
ok, 'sdl-config --prefix=/usr/local/include/SDL' fixed the problem, apparently it just wasn't linking correctly, thnx for your explaination!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sourcecompiling Problem...The sdl-config script installed by SDL could not be found. deepclutch Debian 1 12-15-2005 12:15 PM
Trying to program an SDL application but cannot find the SDL.h file:SuSE 9.2&KDevelop pujolasdf Linux - Newbie 4 03-13-2005 07:50 AM
Making Windows in SDL fatherg Programming 2 08-19-2004 01:43 AM
SDL Error: /dev/snd/pcmC0D0p - "busy" = segfault tireseas Linux - Software 0 07-18-2004 11:35 AM
Making a dev/random ??? ifm Linux - Newbie 3 06-12-2002 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration