LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-01-2006, 04:24 AM   #1
cjh_ubuntu_user
LQ Newbie
 
Registered: Aug 2006
Location: adelaide, australia
Distribution: ubuntu 6.06LTS
Posts: 4

Rep: Reputation: 0
freeciv2 1.14.2 compiling problem x11 libraries code given in post. please help


hi, newbie here and been using for about a week or so.

i686 pc, ubuntu 6.06LTS


i have managed to solve a few issues when trying to compile freeciv2 1.14.2 but i am stuck at this point:


checking extra paths for Xpm... library no, include no
checking for XOpenDisplay in X library -lX11... no
configure: error: specified client 'xaw' not configurable -- need X11 libraries and development headers; perhaps try/adjust --x-libraries



i have no idea what this means and i have searched all forums, all repositories and the net to no avail. i also cant make a lot of sense from the install file that came with freeciv:

- X-Windows.

The Freeciv Xaw client is an X-Windows program, so you'll need
some way of running X-Windows programs. (Most Unixes can...)

If the Freeciv configuration program can't find X Windows on
your system, you may need to use the --x-includes=DIR
and --x-libraries=DIR options


I would be very grateful for any help. thanks,cjh.
 
Old 09-02-2006, 04:01 AM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
Have you tried with --x-includes=/usr/X11R6/includes --with-x-libraries=/usr/X11R6/libs ?
It sounds as if you have to install the X11-devel packages anyway. Don't install these from source, use your distro's native package manager. Most distros include the X-Server in the basic install, but not the X11-devel files that are needed for many compilation issues and are available as separate package.
 
Old 09-09-2006, 11:55 AM   #3
cjh_ubuntu_user
LQ Newbie
 
Registered: Aug 2006
Location: adelaide, australia
Distribution: ubuntu 6.06LTS
Posts: 4

Original Poster
Rep: Reputation: 0
thankyou titopoquito for replying.

sorry it has taken so long to respond but it has been a very hectic week.
i tried the commands you gave me and they seemed to work fine. i had installed these devel files after i first posted when i found them in the respositories.
however now when trying the "make install" command i get this message:

Making install in data
make[1]: Entering directory `/home/cjh/Games/fcb2/fcb22/data'
Making install in amplio
make[2]: Entering directory `/home/cjh/Games/fcb2/fcb22/data/amplio'
make[3]: Entering directory `/home/cjh/Games/fcb2/fcb22/data/amplio'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/freeciv/amplio" || mkdir -p -- "/usr/local/share/freeciv/amplio"
mkdir: cannot create directory `/usr/local/share/freeciv': Permission denied
make[3]: *** [install-pkgdataDATA] Error 1
make[3]: Leaving directory `/home/cjh/Games/fcb2/fcb22/data/amplio'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/cjh/Games/fcb2/fcb22/data/amplio'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/cjh/Games/fcb2/fcb22/data'
make: *** [install-recursive] Error 1


I am not sure what this error about permission denied refers to. i am logged in as root to do this. i dont want to waste your time but i cant find helpful info anywhere. thankyou
 
Old 09-09-2006, 02:14 PM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,525

Rep: Reputation: 94
Sure you are root? You could try to create the folder by hand. What happens if you do a

mkdir -p -- "/usr/local/share/freeciv/amplio"

before and compile then?
Sorry I won't be able to answer again, but I'm going on vacation tomorrow (for what I'm not very sorry ).
 
Old 09-10-2006, 07:27 AM   #5
cjh_ubuntu_user
LQ Newbie
 
Registered: Aug 2006
Location: adelaide, australia
Distribution: ubuntu 6.06LTS
Posts: 4

Original Poster
Rep: Reputation: 0
Talking

thankyou for replying. i crashed my system big time today during a fresh installation of fedora core 4 trying out the OS. it resulted in a re-install of ubuntu. so now i have to start from scratch.

very thankyou for your support and i hope your holiday goes well. at some point i will add a post to update how i got on while you were enjoying your holiday!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
x11 libraries are optional? kgustaf Linux - Software 4 09-06-2005 06:42 PM
problem on linking Xm Xt X11 libraries yaotz Linux - Newbie 9 03-07-2005 12:03 PM
Post Compiling kernel2.6 problem with Xfree86 satish427 Linux - Newbie 1 09-26-2004 11:52 PM
Compiling C code with libraries OldGuru Programming 4 09-18-2004 08:06 PM
X11 libraries? eduac Linux - Software 4 07-11-2003 12:51 PM


All times are GMT -5. The time now is 12:59 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration