configure problem

Ask for help regarding any technical issue or report any bug or OS independent issues.
mocnicom
Peon
Peon
Posts: 7
Joined: 10 Jul 2004, 17:30

configure problem

Post by mocnicom »

latest cvs.

Code: Select all

./configure
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... yes
checking for _init in -lguichan... no
configure: error:  *** Unable to find Guichan library (guichan.darkbits.org)
This is on gentoo linux, and I have guichan installed, although maybe wrongly?

Code: Select all

>>> /usr/lib/libguichan_sdl.la
>>> /usr/lib/libguichan_widgets.la
>>> /usr/lib/libguichan_opengl.la
>>> /usr/lib/libguichan.la
>>> /usr/include/guichan.hpp
--- /usr/include/guichan/
--- /usr/include/guichan/x/
>>> /usr/include/guichan/x/xgraphics.hpp
--- /usr/include/guichan/sdl/
>>> /usr/include/guichan/sdl/sdlgraphics.hpp
>>> /usr/include/guichan/sdl/sdlimageloader.hpp
>>> /usr/include/guichan/sdl/sdlinput.hpp
>>> /usr/include/guichan/sdl/sdlpixel.hpp
>>> /usr/include/guichan/mouseinput.hpp
>>> /usr/include/guichan/cliprectangle.hpp
>>> /usr/include/guichan/imageloader.hpp
>>> /usr/include/guichan/color.hpp
>>> /usr/include/guichan/key.hpp
>>> /usr/include/guichan/basiccontainer.hpp
>>> /usr/include/guichan/x.hpp
>>> /usr/include/guichan/platform.hpp
>>> /usr/include/guichan/defaultfont.hpp
>>> /usr/include/guichan/widget.hpp
>>> /usr/include/guichan/exception.hpp
>>> /usr/include/guichan/sdl.hpp
>>> /usr/include/guichan/font.hpp
>>> /usr/include/guichan/focushandler.hpp
>>> /usr/include/guichan/keylistener.hpp
>>> /usr/include/guichan/input.hpp
>>> /usr/include/guichan/listmodel.hpp
>>> /usr/include/guichan/image.hpp
>>> /usr/include/guichan/allegro.hpp
>>> /usr/include/guichan/mouselistener.hpp
>>> /usr/include/guichan/imagefont.hpp
--- /usr/include/guichan/opengl/
>>> /usr/include/guichan/opengl/openglimageloader.hpp
>>> /usr/include/guichan/opengl/openglgraphics.hpp
>>> /usr/include/guichan/keyinput.hpp
>>> /usr/include/guichan/gui.hpp
--- /usr/include/guichan/allegro/
>>> /usr/include/guichan/allegro/allegrographics.hpp
>>> /usr/include/guichan/allegro/allegroinput.hpp
>>> /usr/include/guichan/allegro/allegroimageloader.hpp
>>> /usr/include/guichan/graphics.hpp
>>> /usr/include/guichan/opengl.hpp
--- /usr/include/guichan/widgets/
>>> /usr/include/guichan/widgets/label.hpp
>>> /usr/include/guichan/widgets/listbox.hpp
>>> /usr/include/guichan/widgets/textfield.hpp
>>> /usr/include/guichan/widgets/icon.hpp
>>> /usr/include/guichan/widgets/slider.hpp
>>> /usr/include/guichan/widgets/button.hpp
>>> /usr/include/guichan/widgets/container.hpp
>>> /usr/include/guichan/widgets/checkbox.hpp
>>> /usr/include/guichan/widgets/radiobutton.hpp
>>> /usr/include/guichan/widgets/dropdown.hpp
>>> /usr/include/guichan/widgets/scrollarea.hpp
>>> /usr/include/guichan/widgets/textbox.hpp
>>> /usr/include/guichan/rectangle.hpp
>>> /usr/include/guichan/actionlistener.hpp
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn »

You only have .la files in your lib directory? I just checked and for me there is:

Code: Select all

[bjorn@thor lib]$ pwd
/usr/lib
[bjorn@thor lib]$ ls  libguichan*
libguichan            libguichan_allegro.0.0.0  libguichan_opengl.la
libguichan.0          libguichan_allegro.a      libguichan_sdl
libguichan.0.0.0      libguichan_allegro.la     libguichan_sdl.0
libguichan.a          libguichan_opengl         libguichan_sdl.0.0.0
libguichan.la         libguichan_opengl.0       libguichan_sdl.a
libguichan_allegro    libguichan_opengl.0.0.0   libguichan_sdl.la
libguichan_allegro.0  libguichan_opengl.a
[bjorn@thor lib]$
User avatar
i
TMW Adviser
TMW Adviser
Posts: 1114
Joined: 07 Mar 2005, 17:29
Location: Poland
Contact:

Post by i »

i have gentoo too. dont use emerge. download sources from guichan.darkbits.org.
complie, and dont forget "make install"
mocnicom
Peon
Peon
Posts: 7
Joined: 10 Jul 2004, 17:30

Post by mocnicom »

Worked fine manually, I just like using ebuilds, it makes removing software alot cleaner.
mocnicom
Peon
Peon
Posts: 7
Joined: 10 Jul 2004, 17:30

Post by mocnicom »

Code: Select all

Error: Error: failed to open core/maps/desert.tmx
I'm guessing the cvs isn't playable right now ;)
User avatar
Bjørn
Manasource
Manasource
Posts: 1438
Joined: 09 Dec 2004, 18:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn »

The latest CVS is:

http://cvs.sourceforge.net/viewcvs.py/t ... 9&r2=1.150

Sorry about that. :oops:
mocnicom
Peon
Peon
Posts: 7
Joined: 10 Jul 2004, 17:30

Post by mocnicom »

Game is looking nice!
User avatar
i
TMW Adviser
TMW Adviser
Posts: 1114
Joined: 07 Mar 2005, 17:29
Location: Poland
Contact:

Post by i »

yah we know. but it could look better if u help ;)
User avatar
maci
Knight
Knight
Posts: 507
Joined: 05 Dec 2004, 20:01
Location: Germany
Contact:

Post by maci »

hehe Bjorn shame on you !
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
DagdaMor
Peon
Peon
Posts: 3
Joined: 22 Mar 2005, 02:42

Post by DagdaMor »

I have an almost identical problem, my configure falls down one line later checking for the SDL support for libguichan, but its there. I built the guichan from source, twice now, but still no joy, and I have noticed if I build the guichan SDL example it builds, but when I try to test it, it complains it also can't find the libguichan_sdl... anyway...

Code: Select all

# ./configure
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for _init in -lguichan... yes
checking for _init in -lguichan_sdl... no
configure: error:  *** Unable to find Guichan SDL library (guichan.darkbits.org)
and

Code: Select all

# pwd
/usr/local/lib
# ls libguichan*
libguichan.a         libguichan_opengl.la    libguichan_opengl.so.0.0.0  libguichan_sdl.so        libguichan.so
libguichan.la        libguichan_opengl.so    libguichan_sdl.a            libguichan_sdl.so.0      libguichan.so.0
libguichan_opengl.a  libguichan_opengl.so.0  libguichan_sdl.la           libguichan_sdl.so.0.0.0  libguichan.so.0.0.0
anybody have a possible solution?

Thanks

Ash
All is fair in love and war...

... as long as I'm not losing.
User avatar
i
TMW Adviser
TMW Adviser
Posts: 1114
Joined: 07 Mar 2005, 17:29
Location: Poland
Contact:

Post by i »

latest version needs guichan 0.3. i recomend download it from sf. and install.
[ i had that problem and that was the best solution ;) ]
User avatar
maci
Knight
Knight
Posts: 507
Joined: 05 Dec 2004, 20:01
Location: Germany
Contact:

Post by maci »

yeah i posted that in General Development

i wish people would read before asking
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

Maci: don't be rude, we're here to help people :wink:
User avatar
maci
Knight
Knight
Posts: 507
Joined: 05 Dec 2004, 20:01
Location: Germany
Contact:

Post by maci »

i am not rude ..

but i guess nobody has read the "Known bugs" and the "faq" thingys
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
DagdaMor
Peon
Peon
Posts: 3
Joined: 22 Mar 2005, 02:42

Post by DagdaMor »

I have the latest version, thats what I used... I have even since tried it with the version from the CVS but still no luck.


EDIT: And yes I did read the known bugs first, to specifically make sure I didnt ask a quesstion answered there.
All is fair in love and war...

... as long as I'm not losing.
Locked