Page 1 of 2

configure problem

Posted: 07 Mar 2005, 16:31
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

Posted: 07 Mar 2005, 17:41
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]$

Posted: 07 Mar 2005, 17:57
by i
i have gentoo too. dont use emerge. download sources from guichan.darkbits.org.
complie, and dont forget "make install"

Posted: 07 Mar 2005, 21:50
by mocnicom
Worked fine manually, I just like using ebuilds, it makes removing software alot cleaner.

Posted: 07 Mar 2005, 22:20
by mocnicom

Code: Select all

Error: Error: failed to open core/maps/desert.tmx
I'm guessing the cvs isn't playable right now ;)

Posted: 07 Mar 2005, 22:43
by Bjørn
The latest CVS is:

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

Sorry about that. :oops:

Posted: 07 Mar 2005, 22:51
by mocnicom
Game is looking nice!

Posted: 08 Mar 2005, 06:02
by i
yah we know. but it could look better if u help ;)

Posted: 08 Mar 2005, 13:38
by maci
hehe Bjorn shame on you !

Posted: 22 Mar 2005, 02:46
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

Posted: 22 Mar 2005, 06:14
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 ;) ]

Posted: 22 Mar 2005, 07:31
by maci
yeah i posted that in General Development

i wish people would read before asking

Posted: 22 Mar 2005, 08:29
by ElvenProgrammer
Maci: don't be rude, we're here to help people :wink:

Posted: 22 Mar 2005, 08:34
by maci
i am not rude ..

but i guess nobody has read the "Known bugs" and the "faq" thingys

Posted: 22 Mar 2005, 12:34
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.