Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Freeciv > XPM directory problems in Configure
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
PhilipHouk is offline PhilipHouk
Settler

Oct 2002
time: 23:23
  Old Post 24-10-2002 06:10
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
XPM directory problems in Configure Enter the AD-FREE zone

I am trying to compile freeciv in cygwin. When I run the configure script, it says /X11/xpm.h is not found. I have tried changing the command line argument --with-xpm-include=DIR where DIR is the directory that has /X11/xpm.h in it. I have also tried changing the directory to where xpm.h is. I have also tried moving /X11/xpm.h to the root directory. And finally I have tried changing the --with-xpm-prefix option and moved the xpm library files and /X11/xpm.h files to the /lib and /include directories. None of this seems to work. Interesting enough, the xpm library is found without a problem. I would appreciate any help.

Thanks

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:23
  Old Post 25-10-2002 01:50 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Try moving the X11 directory (which contains xpm.h) into /usr/include (a hacky but easy solution)

If that doesn't work then post the ./configure output here.

PhilipHouk is offline PhilipHouk
Settler

Oct 2002
time: 23:23
  Old Post 25-10-2002 10:43
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Get a bigger avatar today!

I tried moving the X11 directory, which only has xpm.h and simx.h in it to /usr/include and still got the same error. I tried a couple of combinations and have the ./configure output in the attached text file. Thanks for your help.

Also, I'm not sure if this has anything to do with the problem, or is another problem, but I didn't define a FUNCPROTO. Configure didn't error, but didn't seem to like this omission. So since I've never heard of this I figured I would ask what it is and what I would need to do to get this going if it would be helpful.



Thanks again for your help

Phil

Attachment: xpm_problog.txt
This has been downloaded 3 time(s).

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:23
  Old Post 31-10-2002 19:23 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Get a bigger avatar today!

Umm, I really don't know what is wrong then. Should work...

PhilipHouk is offline PhilipHouk
Settler

Oct 2002
time: 23:23
  Old Post 31-10-2002 20:46
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Problem Solved XPM & Cygwin Support Apolyton, buy Civilization 2

It seems Cygwin's X11 library is only a simulated version of the library. They use simx.h as the header file. The regular XPM headers and library (xlib.h, xutil.h ...) are not included with the typical installation. However, you can include them separately, which I did and then everything compiles and makes as normal.

CapTVK is offline CapTVK
King
Voorburg, the Netherlands, Europe
Jan 1970
time: 05:23
  Old Post 01-11-2002 03:29 Visit CapTVK's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

This cygwin problem seems to be a recurring issue. This should probably be included in a FAQ.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:23.
Apolyton Time is 00:23.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0300 seconds (87.46% PHP - 12.54% MySQL) with 29 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net