configure: error: PhysicsFS header not found.

Discuss the future of Warzone 2100 with us.
Pepi
Greenhorn
Posts: 11
Joined: 02 Jun 2011, 13:33

configure: error: PhysicsFS header not found.

Post by Pepi »

Hi all,

I have tried to start using WS 2.3.8 on my F15, but when I run "./configure && make" it ends up into error:
.
.
.
checking for XmCreateErrorDialog in -lXm... no
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
checking physfs.h usability... no
checking physfs.h presence... no
checking for physfs.h... no
configure: error: PhysicsFS header not found.


There were many other errors before those, but they were fixed when I was installing different packages (PhysicsFS, Theora....)
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: configure: error: PhysicsFS header not found.

Post by Per »

You need to install the physfs-devel package.
Pepi
Greenhorn
Posts: 11
Joined: 02 Jun 2011, 13:33

Re: configure: error: PhysicsFS header not found.

Post by Pepi »

Hi Per,

Thanks for your reply.

I believe that was not the case, but I downloaded the latest PhFS from here:
http://icculus.org/physfs/downloads/

./configure && make && make install
Failed...
(there were some warnings from "lastdirectory defined, but not used" and all warnings were handled as errors)

Comments lines 248 and 250 on the file: ./PhysFS-2.0.2/wad.c
./configure && make && make install

Success..

Then I need to add also: quesoglc-0.7.2

Then I got Warzone2100 installed.


Of course it still not work :D
When I start it from: "/usr/local/bin/warzone2100" it says:
./warzone2100: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory

Let see what is next solution :)
Pepi
Greenhorn
Posts: 11
Joined: 02 Jun 2011, 13:33

Re: configure: error: PhysicsFS header not found.

Post by Pepi »

Hi Per,

(sorry if this comes again, but my previous post seems to vanish)

Thank you for your reply, but I'm not sure did I got the correct package. I took the latest PhFS from:
http://icculus.org/physfs/downloads/

./configure && make && make install
--> failed (lastdirectory variable has defined, but never used). All warnings were handled as errors.

comment the lines: 248 and 250 at physfs-2.0.2\archivers\wad.c

./configure && make && make install
--> success...

Then I need to download also quesoglc-0.7.2 and install it.

Then I got the Warzone2100 installed.


Of course it still not work :) When I start it from "/usr/local/bin" it gives me an error:
./warzone2100: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory
Even I have the followings (tried different options):
./usr/lib/libphysfs.so.1
./usr/local/lib/libphysfs.so.1
./usr/local/bin/libphysfs.so.1

But let see where this ends :D
Pepi
Greenhorn
Posts: 11
Joined: 02 Jun 2011, 13:33

Re: configure: error: PhysicsFS header not found.

Post by Pepi »

And the error:
./warzone2100: error while loading shared libraries: libphysfs.so.1: cannot open shared object file: No such file or directory

I fixed by creating symbolic link for the PhFS:
ln -s /usr/local/lib/libphysfs.so.2.0.2 /lib64/libphysfs.so.1

But still the arena is missing...

When I start WZ2100 from terminal, and after quit the game there are following lines waiting on the terminal:
Mesa 7.11-devel implementation error: _mesa_texstore_null() is called
Please report at bugs.freedesktop.org
Mesa 7.11-devel implementation error: _mesa_texstore_null() is called
Please report at bugs.freedesktop.org
Mesa 7.11-devel implementation error: _mesa_texstore_null() is called
Please report at bugs.freedesktop.org
Mesa 7.11-devel implementation error: _mesa_texstore_null() is called
Please report at bugs.freedesktop.org
AL lib: ALc.c:1818: alcCloseDevice(): deleting 1 Buffer(s)


That was also problem with WZ2100 build 2.3.7. That problem might be appeared because of Fedora 15's updates (which I have no clue what they were).

Let see, where this ends :-/
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: configure: error: PhysicsFS header not found.

Post by NoQ »

Pepi wrote:Hi Per,

Thanks for your reply.

I believe that was not the case, but I downloaded the latest PhFS from here:
http://icculus.org/physfs/downloads/

./configure && make && make install
Don't ever do this again. Find the package in your package manager.
Yeah, and, obviously, PhysFS v2 doesn't make much sense when you need PhysFS v1.
Pepi
Greenhorn
Posts: 11
Joined: 02 Jun 2011, 13:33

Re: configure: error: PhysicsFS header not found.

Post by Pepi »

Eh.... I can try, but I cannot promise :lol2:

But you believe WZ will not get any benefits from PhysFS v2? It is not backward compatible?

But still the problem started before my PhysFS update..

--
Pepi





ps. How an earth I can roll back the PhysFS 1 :oops:
Pepi
Greenhorn
Posts: 11
Joined: 02 Jun 2011, 13:33

Re: configure: error: PhysicsFS header not found.

Post by Pepi »

Now the Warzone is running again...

I installed:
libxtc_dxtn

and run the command:
export R600_ENABLE_S3TC=1

Thanks to this:
http://www.casey-jones.org/blog/16/