STK-0.7.1b compilation problem

STK-0.7.1b compilation problem

Postby fil » 25 Apr 2011, 14:48

Hello,

Thanks a lot for STK : I am already getting a lot of fun with version 0.6.2.

But I would lke to check if 0.7 is even better, and can't compile it, the error is (sorry for the really long line) :
g++ -DPACKAGE_NAME=\"supertuxkart\" -DPACKAGE_TARNAME=\"supertuxkart\" -DPACKAGE_VERSION=\"0.7.1b\" -DPACKAGE_STRING=\"supertuxkart\ 0.7.1b\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"supertuxkart\" -DVERSION=\"0.7.1b\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_AL_AL_H=1 -DHAVE_OGGVORBIS=1 -DSVNVERSION=\"exported\" -DBT_NO_PROFILE=/\*\*/ -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1 -I. -DSUPERTUXKART_DATADIR="\"/usr/share/games/supertuxkart/\"" -I./bullet/src/ -I./enet/include/ -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include -O2 -g -m64 -mtune=generic -Wall -DNDEBUG -O2 -MT unlock_manager.o -MD -MP -MF .deps/unlock_manager.Tpo -c -o unlock_manager.o `test -f 'challenges/unlock_manager.cpp' || echo './'`challenges/unlock_manager.cpp
audio/sfx_buffer.cpp: In member function 'bool SFXBuffer::loadVorbisBuffer(const std::string&, ALuint)':
audio/sfx_buffer.cpp:139: erreur: 'OV_CALLBACKS_NOCLOSE' was not declared in this scope
make[2]: *** [sfx_buffer.o] Erreur 1

As it seems to be vorbis related, this is what I have on my Centos-5.6 :
$ grep ogg /var/log/rpmpkgs
libogg-1.1.3-3.el5.x86_64.rpm
libogg-devel-1.1.3-3.el5.x86_64.rpm
$ grep vorbis /var/log/rpmpkgs
libvorbis-1.1.2-3.el5_4.4.x86_64.rpm
libvorbis-devel-1.1.2-3.el5_4.4.x86_64.rpm

Any idea on a workaround ?

Thanks,

--
Philippe
User avatar
fil
 
Posts: 2
Joined: 25 Apr 2011, 14:31

Re: STK-0.7.1b compilation problem

Postby Auria » 25 Apr 2011, 23:09

Hi,

thanks for the nice words. Regarding your error, this is a bit surprising; could you post which versions of libogg and libvorbis you are using?

EDIT: OOps I see you already did, sorry. Let me check
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK-0.7.1b compilation problem

Postby Auria » 25 Apr 2011, 23:14

OK I checked. I'm afraid libvorbis-1.1.2 is too old, libvorbis-1.2.0 is required (configure didn't catch this)
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK-0.7.1b compilation problem

Postby fil » 26 Apr 2011, 18:30

Auria {l Wrote}:OK I checked. I'm afraid libvorbis-1.1.2 is too old, libvorbis-1.2.0 is required (configure didn't catch this)


Great, a quick update of libvorbis and there are many mosquitos stuck on my teeth : I am now the happy driver of a Superkart 0.7 !
Thanks a lot !
User avatar
fil
 
Posts: 2
Joined: 25 Apr 2011, 14:31

Re: STK-0.7.1b compilation problem

Postby Auria » 27 Apr 2011, 03:09

Glad it works now :)
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK-0.7.1b compilation problem

Postby bovineuniversity » 05 May 2011, 20:32

I thought I'd piggy-back on this thread instead of creating a new one... hope that's ok.
I am compiling SVN versions, and have done so successfully a few times.
I just do:
{l Code}: {l Select All Code}
svn update supertuxkart
cd supertuxkart
./autogen.sh && ./configure && make
sudo make install


I saw an error with it the other day, and now again on 8518...
Configure returns:
{l Code}: {l Select All Code}
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking how to run the C++ preprocessor... g++ -E
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for library containing glNewList... -lGL
checking for library containing alGenBuffers... -lopenal
checking AL/al.h usability... yes
checking AL/al.h presence... yes
checking for AL/al.h... yes
checking OpenAL/al.h usability... no
checking OpenAL/al.h presence... no
checking for OpenAL/al.h... no
checking for library containing ov_open... -lvorbisfile
checking vorbis/vorbisfile.h usability... yes
checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes
checking ogg/ogg.h usability... yes
checking ogg/ogg.h presence... yes
checking for ogg/ogg.h... yes
 in /usr/ :
checking irrlicht.h usability... yes
checking irrlicht.h presence... yes
checking for irrlicht.h... yes
checking for irrlicht libraries...
Irrlicht Engine version 1.8.0-alpha
Linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64
Could not load sprite bank because the file does not exist: #DefaultFont
checking irrlicht version is recent enough... yes
checking for library containing fribidi_log2vis... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBCURL... yes
checking for svnversion... svnversion
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for poll... yes
checking for fcntl... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for struct msghdr.msg_flags... yes
checking for socklen_t... yes
yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/challenges/Makefile
config.status: creating data/fonts/Makefile
config.status: creating data/gfx/Makefile
config.status: creating data/grandprix/Makefile
config.status: creating data/gui/Makefile
config.status: creating data/karts/Makefile
config.status: creating data/models/Makefile
config.status: creating data/music/Makefile
config.status: creating data/po/Makefile
config.status: creating data/sfx/Makefile
config.status: creating data/textures/Makefile
config.status: creating data/tracks/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/ide/Makefile
config.status: creating src/bullet/Makefile
config.status: creating src/bullet/src/Makefile
config.status: creating src/enet/Makefile
config.status: executing depfiles commands

Summary of optional components:
===============================
Disabled debugging, asserts have been turned off

We have Ogg Vorbis support.

Fribidi (RTL languages support) support disabled.

and make...
{l Code}: {l Select All Code}
Making all in src/bullet
make[1]: Entering directory `/pkgs/games/supertuxkart/src/bullet'
Making all in src
make[2]: Entering directory `/pkgs/games/supertuxkart/src/bullet/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/pkgs/games/supertuxkart/src/bullet/src'
make[2]: Entering directory `/pkgs/games/supertuxkart/src/bullet'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/pkgs/games/supertuxkart/src/bullet'
make[1]: Leaving directory `/pkgs/games/supertuxkart/src/bullet'
Making all in src/enet
make[1]: Entering directory `/pkgs/games/supertuxkart/src/enet'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/pkgs/games/supertuxkart/src/enet'
Making all in src
make[1]: Entering directory `/pkgs/games/supertuxkart/src'
Making all in ide
make[2]: Entering directory `/pkgs/games/supertuxkart/src/ide'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/pkgs/games/supertuxkart/src/ide'
make[2]: Entering directory `/pkgs/games/supertuxkart/src'
g++  -Wall -DNDEBUG -O2  -L/usr/local/lib -L/usr/local/lib -o supertuxkart main.o main_loop.o addon.o addons_manager.o network_http.o zip.o animation_base.o billboard_animation.o ipo.o three_d_animation.o music_information.o music_manager.o music_ogg.o sfx_buffer.o sfx_openal.o sfx_manager.o challenge.o challenge_data.o unlock_manager.o stk_config.o user_config.o device_config.o CBatchingMesh.o camera.o explosion.o irr_driver.o lod_node.o material.o material_manager.o mesh_tools.o moving_texture.o particle_emitter.o particle_kind.o particle_kind_manager.o per_camera_node.o rain.o shadow.o skid_marks.o slip_stream.o stars.o CGUISpriteBank.o abstract_state_manager.o abstract_top_level_container.o engine.o event_handler.o layout_manager.o modaldialog.o scalable_font.o screen_loader.o screen.o skin.o widget.o bubble_widget.o button_widget.o CGUIEditBox.o check_box_widget.o dynamic_ribbon_widget.o icon_button_widget.o label_widget.o list_widget.o model_view_widget.o ribbon_widget.o spinner_widget.o text_box_widget.o progress_bar_widget.o binding.o device_manager.o input_device.o input_manager.o file_manager.o xml_node.o xml_writer.o attachment.o attachment_manager.o bowling.o cake.o flyable.o item.o item_manager.o plunger.o powerup.o powerup_manager.o projectile_manager.o rubber_band.o ai_base_controller.o controller.o default_ai_controller.o end_controller.o new_ai_controller.o player_controller.o emergency_animation.o kart.o kart_model.o kart_properties.o kart_properties_manager.o max_speed.o moveable.o follow_the_leader.o game_tutorial.o linear_world.o profile_world.o standard_race.o three_strikes_battle.o world.o world_status.o world_with_rank.o connect_message.o kart_control_message.o kart_update_message.o message.o network_kart.o network_manager.o race_info_message.o race_result_message.o race_state.o btKart.o btKartRaycast.o btUprightConstraint.o irr_debug_drawer.o physical_object.o physics.o triangle_mesh.o grand_prix_data.o grand_prix_manager.o highscore_manager.o highscores.o history.o race_manager.o replay_base.o replay_buffers.o replay_player.o replay_recorder.o challenges.o credits.o add_device_dialog.o confirm_resolution_dialog.o enter_player_name_dialog.o gp_info_dialog.o message_dialog.o player_info_dialog.o press_a_key_dialog.o race_over_dialog.o race_paused_dialog.o track_info_dialog.o addons_loading.o arenas_screen.o feature_unlocked.o grand_prix_lose.o grand_prix_win.o help_screen_1.o help_screen_2.o help_screen_3.o help_screen_4.o kart_selection.o main_menu_screen.o minimal_race_gui.o options_screen_audio.o options_screen_input.o options_screen_input2.o options_screen_players.o options_screen_ui.o options_screen_video.o addons_screen.o race_gui_base.o race_gui.o race_result_gui.o race_setup_screen.o state_manager.o tracks_screen.o tutorial_screen.o dictionary.o dictionary_manager.o iconv.o language.o log.o plural_forms.o po_parser.o stk_file_system.o tinygettext.o ambient_light_sphere.o bezier_curve.o check_lap.o check_line.o check_manager.o check_sphere.o check_structure.o graph_node.o quad.o quad_graph.o quad_set.o terrain_info.o track.o track_manager.o track_object.o track_object_manager.o tutorial.o tutorial_data.o tutorial_manager.o constants.o random_generator.o string_utils.o translation.o vec3.o -L//usr/lib/Linux -L//usr/lib -lIrrlicht  -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath -Lenet -lenet -lGL  -lopenal  -lvorbisfile   /usr/lib 
/usr/bin/ld: cannot find /usr/lib: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [supertuxkart] Error 1
make[2]: Leaving directory `/pkgs/games/supertuxkart/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/pkgs/games/supertuxkart/src'
make: *** [all-recursive] Error 1

grepping for /usr/lib in the Makefile returns:
{l Code}: {l Select All Code}
LIBCURL_LIBS = /usr/lib
irrlicht_LIBS = -L//usr/lib/Linux -L//usr/lib -lIrrlicht

Libcurl libs look ok, is it irrlicht?
dpkg -l | grep -i irrlicht
{l Code}: {l Select All Code}
ii  libirrlicht-dev                                1.8svn3643~natty                           High performance realtime 3D engine development library
ii  libirrlicht-doc                                1.8svn3643~natty                           High performance realtime 3D engine (API documentation)
rc  libirrlicht1.7                                 1.7.2ubuntu-1~maverick                     High performance realtime 3D engine
ii  libirrlicht1.8                                 1.8svn3643~natty                           High performance realtime 3D engine
ii  libirrlicht1.8-dbg                             1.8svn3643~natty                           debugging symbols for irrlicht
bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: STK-0.7.1b compilation problem

Postby Auria » 06 May 2011, 00:12

Hi,

actually it's the opposite of what you thought ;) irrlicht flags are OK, curl flags are not. I will check with Joerg
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK-0.7.1b compilation problem

Postby bovineuniversity » 06 May 2011, 01:10

I knew I shouldn't have said anything and just posted the error. :) Thanks.
bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: STK-0.7.1b compilation problem

Postby hiker » 06 May 2011, 12:28

Auria {l Wrote}:actually it's the opposite of what you thought ;) irrlicht flags are OK, curl flags are not.

Agreed, the libcurl settings are completely wrong. Strange that it worked previously, I am not aware of any changes to STK that should affect this.

Could you post your config.log file?

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: STK-0.7.1b compilation problem

Postby bovineuniversity » 06 May 2011, 15:02

hiker {l Wrote}:
Auria {l Wrote}:actually it's the opposite of what you thought ;) irrlicht flags are OK, curl flags are not.

Agreed, the libcurl settings are completely wrong. Strange that it worked previously, I am not aware of any changes to STK that should affect this.

Could you post your config.log file?

Cheers,
Joerg

Sure. Here are the results of 'dpkg -l | grep -i curl'
{l Code}: {l Select All Code}
 ii  curl                                           7.21.3-1ubuntu1                            Get a file from an HTTP, HTTPS or FTP server
rc  gnupg-curl                                     1.4.10-2ubuntu2                            GNU privacy guard - a free PGP replacement (cURL)
ii  libcurl3                                       7.21.3-1ubuntu1                            Multi-protocol file transfer library (OpenSSL)
ii  libcurl3-gnutls                                7.21.3-1ubuntu1                            Multi-protocol file transfer library (GnuTLS)
ii  libcurl4-gnutls-dev                            7.21.3-1ubuntu1                            Development files and documentation for libcurl (GnuTLS)
ii  python-pycurl                                  7.19.0-3build1                             Python bindings to libcurl

and the config.log
{l Code}: {l Select All Code}
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by supertuxkart configure SVN, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = heimlich2
uname -m = x86_64
uname -r = 2.6.38-8-generic
uname -s = Linux
uname -v = #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/weishaar/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2438: checking build system type
configure:2452: result: x86_64-unknown-linux-gnu
configure:2472: checking host system type
configure:2485: result: x86_64-unknown-linux-gnu
configure:2521: checking for a BSD-compatible install
configure:2589: result: /usr/bin/install -c
configure:2600: checking whether build environment is sane
configure:2650: result: yes
configure:2791: checking for a thread-safe mkdir -p
configure:2830: result: /bin/mkdir -p
configure:2843: checking for gawk
configure:2859: found /usr/bin/gawk
configure:2870: result: gawk
configure:2881: checking whether make sets $(MAKE)
configure:2903: result: yes
configure:2978: checking how to create a ustar tar archive
configure:2991: tar --version
tar (GNU tar) 1.25
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
configure:2994: $? = 0
configure:3034: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3037: $? = 0
configure:3041: tar -xf - <conftest.tar
configure:3044: $? = 0
configure:3057: result: gnutar
configure:3125: checking for gcc
configure:3141: found /usr/bin/gcc
configure:3152: result: gcc
configure:3381: checking for C compiler version
configure:3390: gcc --version >&5
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3401: $? = 0
configure:3390: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
configure:3401: $? = 0
configure:3390: gcc -V >&5
gcc: '-V' option must have argument
configure:3401: $? = 1
configure:3390: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3401: $? = 1
configure:3421: checking whether the C compiler works
configure:3443: gcc  -Wall -Wstrict-prototypes -Wmissing-prototypes   conftest.c  >&5
conftest.c:13:1: warning: function declaration isn't a prototype
configure:3447: $? = 0
configure:3495: result: yes
configure:3498: checking for C compiler default output file name
configure:3500: result: a.out
configure:3506: checking for suffix of executables
configure:3513: gcc -o conftest  -Wall -Wstrict-prototypes -Wmissing-prototypes   conftest.c  >&5
conftest.c:13:1: warning: function declaration isn't a prototype
configure:3517: $? = 0
configure:3539: result:
configure:3561: checking whether we are cross compiling
configure:3569: gcc -o conftest  -Wall -Wstrict-prototypes -Wmissing-prototypes   conftest.c  >&5
conftest.c:13:1: warning: function declaration isn't a prototype
configure:3573: $? = 0
configure:3580: ./conftest
configure:3584: $? = 0
configure:3599: result: no
configure:3604: checking for suffix of object files
configure:3626: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
conftest.c:13:1: warning: function declaration isn't a prototype
configure:3630: $? = 0
configure:3651: result: o
configure:3655: checking whether we are using the GNU C compiler
configure:3674: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
conftest.c:13:1: warning: function declaration isn't a prototype
configure:3674: $? = 0
configure:3683: result: yes
configure:3692: checking whether gcc accepts -g
configure:3712: gcc -c -g  conftest.c >&5
configure:3712: $? = 0
configure:3753: result: yes
configure:3770: checking for gcc option to accept ISO C89
configure:3834: gcc  -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
conftest.c:18:14: warning: function declaration isn't a prototype
conftest.c:55:1: warning: function declaration isn't a prototype
configure:3834: $? = 0
configure:3847: result: none needed
configure:3878: checking for style of include used by make
configure:3906: result: GNU
configure:3931: checking dependency style of gcc
configure:4041: result: gcc3
configure:4061: checking how to run the C preprocessor
configure:4092: gcc -E  conftest.c
configure:4092: $? = 0
configure:4106: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4106: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4131: result: gcc -E
configure:4151: gcc -E  conftest.c
configure:4151: $? = 0
configure:4165: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4165: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4251: checking for g++
configure:4267: found /usr/bin/g++
configure:4278: result: g++
configure:4305: checking for C++ compiler version
configure:4314: g++ --version >&5
g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4325: $? = 0
configure:4314: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
configure:4325: $? = 0
configure:4314: g++ -V >&5
g++: '-V' option must have argument
configure:4325: $? = 1
configure:4314: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4325: $? = 1
configure:4329: checking whether we are using the GNU C++ compiler
configure:4348: g++ -c  -Wall  conftest.cpp >&5
configure:4348: $? = 0
configure:4357: result: yes
configure:4366: checking whether g++ accepts -g
configure:4386: g++ -c -g  conftest.cpp >&5
configure:4386: $? = 0
configure:4427: result: yes
configure:4452: checking dependency style of g++
configure:4562: result: gcc3
configure:4581: checking for grep that handles long lines and -e
configure:4639: result: /bin/grep
configure:4644: checking for egrep
configure:4706: result: /bin/grep -E
configure:4711: checking for ANSI C header files
configure:4731: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
conftest.c:17:1: warning: function declaration isn't a prototype
configure:4731: $? = 0
configure:4804: gcc -o conftest  -Wall -Wstrict-prototypes -Wmissing-prototypes   conftest.c  >&5
conftest.c:23:1: warning: function declaration isn't a prototype
configure:4804: $? = 0
configure:4804: ./conftest
configure:4804: $? = 0
configure:4815: result: yes
configure:4828: checking for sys/types.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for sys/stat.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for stdlib.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for string.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for memory.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for strings.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for inttypes.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for stdint.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4828: checking for unistd.h
configure:4828: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
configure:4828: $? = 0
configure:4828: result: yes
configure:4840: checking whether byte ordering is bigendian
configure:4855: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
conftest.c:22:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
configure:4855: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #ifndef __APPLE_CC__
|           not a universal capable compiler
|         #endif
|         typedef int dummy;
|
configure:4900: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
conftest.c:25:1: warning: function declaration isn't a prototype
configure:4900: $? = 0
configure:4918: gcc -c  -Wall -Wstrict-prototypes -Wmissing-prototypes  conftest.c >&5
conftest.c:25:1: warning: function declaration isn't a prototype
conftest.c: In function 'main':
conftest.c:28:4: error: 'not' undeclared (first use in this function)
conftest.c:28:4: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:28:8: error: expected ';' before 'big'
configure:4918: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|       #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
|        not big endian
|       #endif
|
|   ;
|   return 0;
| }
configure:5046: result: no
configure:5114: checking whether make sets $(MAKE)
configure:5136: result: yes
configure:5188: checking for ranlib
configure:5204: found /usr/bin/ranlib
configure:5215: result: ranlib
configure:5248: checking how to run the C++ preprocessor
configure:5275: g++ -E  conftest.cpp
configure:5275: $? = 0
configure:5289: g++ -E  conftest.cpp
conftest.cpp:21:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5289: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5314: result: g++ -E
configure:5334: g++ -E  conftest.cpp
configure:5334: $? = 0
configure:5348: g++ -E  conftest.cpp
conftest.cpp:21:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5348: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5377: checking windows.h usability
configure:5377: g++ -c  -Wall -DNDEBUG -O2  conftest.cpp >&5
conftest.cpp:54:21: fatal error: windows.h: No such file or directory
compilation terminated.
configure:5377: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <windows.h>
configure:5377: result: no
configure:5377: checking windows.h presence
configure:5377: g++ -E  conftest.cpp
conftest.cpp:21:21: fatal error: windows.h: No such file or directory
compilation terminated.
configure:5377: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <windows.h>
configure:5377: result: no
configure:5377: checking for windows.h
configure:5377: result: no
configure:5414: checking for library containing glNewList
configure:5445: g++ -o conftest  -Wall -DNDEBUG -O2   conftest.cpp  >&5
/tmp/ccysL2LP.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `glNewList'
collect2: ld returned 1 exit status
configure:5445: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char glNewList ();
| int
| main ()
| {
| return glNewList ();
|   ;
|   return 0;
| }
configure:5445: g++ -o conftest  -Wall -DNDEBUG -O2   conftest.cpp -lGL   >&5
configure:5445: $? = 0
configure:5462: result: -lGL
configure:5608: checking for library containing alGenBuffers
configure:5639: g++ -o conftest  -Wall -DNDEBUG -O2   conftest.cpp  >&5
/tmp/ccWRBq24.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `alGenBuffers'
collect2: ld returned 1 exit status
configure:5639: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char alGenBuffers ();
| int
| main ()
| {
| return alGenBuffers ();
|   ;
|   return 0;
| }
configure:5639: g++ -o conftest  -Wall -DNDEBUG -O2   conftest.cpp -lopenal   >&5
configure:5639: $? = 0
configure:5656: result: -lopenal
configure:5672: checking AL/al.h usability
configure:5672: g++ -c  -Wall -DNDEBUG -O2  conftest.cpp >&5
configure:5672: $? = 0
configure:5672: result: yes
configure:5672: checking AL/al.h presence
configure:5672: g++ -E  conftest.cpp
configure:5672: $? = 0
configure:5672: result: yes
configure:5672: checking for AL/al.h
configure:5672: result: yes
configure:5672: checking OpenAL/al.h usability
configure:5672: g++ -c  -Wall -DNDEBUG -O2  conftest.cpp >&5
conftest.cpp:55:23: fatal error: OpenAL/al.h: No such file or directory
compilation terminated.
configure:5672: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <OpenAL/al.h>
configure:5672: result: no
configure:5672: checking OpenAL/al.h presence
configure:5672: g++ -E  conftest.cpp
conftest.cpp:22:23: fatal error: OpenAL/al.h: No such file or directory
compilation terminated.
configure:5672: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| /* end confdefs.h.  */
| #include <OpenAL/al.h>
configure:5672: result: no
configure:5672: checking for OpenAL/al.h
configure:5672: result: no
configure:5702: checking for library containing ov_open
configure:5733: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include  -L/usr/local/lib conftest.cpp  >&5
/tmp/ccOFhB7t.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `ov_open'
collect2: ld returned 1 exit status
configure:5733: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char ov_open ();
| int
| main ()
| {
| return ov_open ();
|   ;
|   return 0;
| }
configure:5733: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include  -L/usr/local/lib conftest.cpp -lvorbisfile -lvorbis  >&5
configure:5733: $? = 0
configure:5750: result: -lvorbisfile
configure:5763: checking vorbis/vorbisfile.h usability
configure:5763: g++ -c  -Wall -DNDEBUG -O2  -I/usr/local/include conftest.cpp >&5
configure:5763: $? = 0
configure:5763: result: yes
configure:5763: checking vorbis/vorbisfile.h presence
configure:5763: g++ -E  -I/usr/local/include conftest.cpp
configure:5763: $? = 0
configure:5763: result: yes
configure:5763: checking for vorbis/vorbisfile.h
configure:5763: result: yes
configure:5769: checking ogg/ogg.h usability
configure:5769: g++ -c  -Wall -DNDEBUG -O2  -I/usr/local/include conftest.cpp >&5
configure:5769: $? = 0
configure:5769: result: yes
configure:5769: checking ogg/ogg.h presence
configure:5769: g++ -E  -I/usr/local/include conftest.cpp
configure:5769: $? = 0
configure:5769: result: yes
configure:5769: checking for ogg/ogg.h
configure:5769: result: yes
configure:5829: checking irrlicht.h usability
configure:5829: g++ -c  -Wall -DNDEBUG -O2  -I/usr/local/include -I/usr/include/irrlicht conftest.cpp >&5
configure:5829: $? = 0
configure:5829: result: yes
configure:5829: checking irrlicht.h presence
configure:5829: g++ -E  -I/usr/local/include -I/usr/include/irrlicht conftest.cpp
configure:5829: $? = 0
configure:5829: result: yes
configure:5829: checking for irrlicht.h
configure:5829: result: yes
configure:5906: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht  -L/usr/local/lib conftest.cpp  -L//usr/lib/Linux -L//usr/lib -lIrrlicht -lGL  >&5
configure:5906: $? = 0
configure:5906: ./conftest
configure:5906: $? = 0
configure:5990: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht  -L/usr/local/lib conftest.cpp  -L//usr/lib/Linux -L//usr/lib -lIrrlicht -lGL  >&5
configure:5990: $? = 0
configure:5990: ./conftest
configure:5990: $? = 0
configure:6022: checking for library containing fribidi_log2vis
configure:6053: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp  >&5
/tmp/cc0dF83J.o: In function `main':
conftest.cpp:(.text+0x5): undefined reference to `fribidi_log2vis'
collect2: ld returned 1 exit status
configure:6053: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| #define HAVE_OGGVORBIS 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fribidi_log2vis ();
| int
| main ()
| {
| return fribidi_log2vis ();
|   ;
|   return 0;
| }
configure:6053: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp -lfribidi   >&5
/usr/bin/ld: cannot find -lfribidi
collect2: ld returned 1 exit status
configure:6053: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| #define HAVE_OGGVORBIS 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fribidi_log2vis ();
| int
| main ()
| {
| return fribidi_log2vis ();
|   ;
|   return 0;
| }
configure:6070: result: no
configure:6158: checking for pkg-config
configure:6176: found /usr/bin/pkg-config
configure:6188: result: /usr/bin/pkg-config
configure:6213: checking pkg-config is at least version 0.9.0
configure:6216: result: yes
configure:6226: checking for LIBCURL
configure:6233: $PKG_CONFIG --exists --print-errors "libcurl >= 0.1"
configure:6236: $? = 0
configure:6309: result: yes
configure:6321: checking for svnversion
configure:6337: found /usr/bin/svnversion
configure:6348: result: svnversion
configure:6382: checking for gethostbyaddr_r
configure:6382: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp  >&5
configure:6382: $? = 0
configure:6382: result: yes
configure:6388: checking for gethostbyname_r
configure:6388: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp  >&5
configure:6388: $? = 0
configure:6388: result: yes
configure:6394: checking for poll
configure:6394: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp  >&5
configure:6394: $? = 0
configure:6394: result: yes
configure:6400: checking for fcntl
configure:6400: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp  >&5
configure:6400: $? = 0
configure:6400: result: yes
configure:6406: checking for inet_pton
configure:6406: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp  >&5
configure:6406: $? = 0
configure:6406: result: yes
configure:6412: checking for inet_ntop
configure:6412: g++ -o conftest  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include  -L/usr/local/lib -L/usr/local/lib conftest.cpp  >&5
configure:6412: $? = 0
configure:6412: result: yes
configure:6419: checking for struct msghdr.msg_flags
configure:6419: g++ -c  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include conftest.cpp >&5
configure:6419: $? = 0
configure:6419: result: yes
configure:6427: checking for socklen_t
configure:6427: g++ -c  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include conftest.cpp >&5
configure:6427: $? = 0
configure:6427: g++ -c  -Wall -DNDEBUG -O2  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:39:23: error: expected primary-expression before ')' token
configure:6427: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "supertuxkart"
| #define PACKAGE_TARNAME "supertuxkart"
| #define PACKAGE_VERSION "SVN"
| #define PACKAGE_STRING "supertuxkart SVN"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "supertuxkart"
| #define VERSION "SVN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_AL_AL_H 1
| #define HAVE_OGGVORBIS 1
| #define SVNVERSION "8518"
| #define BT_NO_PROFILE /**/
| #define HAS_GETHOSTBYADDR_R 1
| #define HAS_GETHOSTBYNAME_R 1
| #define HAS_POLL 1
| #define HAS_FCNTL 1
| #define HAS_INET_PTON 1
| #define HAS_INET_NTOP 1
| #define HAS_MSGHDR_FLAGS 1
| /* end confdefs.h.  */
| #include <sys/types.h>
|               #include <sys/socket.h>
|
|
| int
| main ()
| {
| if (sizeof ((socklen_t)))
|        return 0;
|   ;
|   return 0;
| }
configure:6427: result: yes
conftest.cpp:33:20: fatal error: socket.h: No such file or directory
compilation terminated.
configure:6503: g++ -c  -Wall -DNDEBUG -O2 -fno-elide-constructors  -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include conftest.cpp >&5
configure:6503: $? = 0
configure:6504: result: yes
configure:6693: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by supertuxkart config.status SVN, which was
generated by GNU Autoconf 2.67.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on heimlich2

config.status:833: creating Makefile
config.status:833: creating data/Makefile
config.status:833: creating data/challenges/Makefile
config.status:833: creating data/fonts/Makefile
config.status:833: creating data/gfx/Makefile
config.status:833: creating data/grandprix/Makefile
config.status:833: creating data/gui/Makefile
config.status:833: creating data/karts/Makefile
config.status:833: creating data/models/Makefile
config.status:833: creating data/music/Makefile
config.status:833: creating data/po/Makefile
config.status:833: creating data/sfx/Makefile
config.status:833: creating data/textures/Makefile
config.status:833: creating data/tracks/Makefile
config.status:833: creating doc/Makefile
config.status:833: creating src/Makefile
config.status:833: creating src/ide/Makefile
config.status:833: creating src/bullet/Makefile
config.status:833: creating src/bullet/src/Makefile
config.status:833: creating src/enet/Makefile
config.status:1004: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBCURL_CFLAGS_set=
ac_cv_env_LIBCURL_CFLAGS_value=
ac_cv_env_LIBCURL_LIBS_set=set
ac_cv_env_LIBCURL_LIBS_value=/usr/lib
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_fcntl=yes
ac_cv_func_gethostbyaddr_r=yes
ac_cv_func_gethostbyname_r=yes
ac_cv_func_inet_ntop=yes
ac_cv_func_inet_pton=yes
ac_cv_func_poll=yes
ac_cv_header_AL_al_h=yes
ac_cv_header_OpenAL_al_h=no
ac_cv_header_inttypes_h=yes
ac_cv_header_irrlicht_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_ogg_ogg_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vorbis_vorbisfile_h=yes
ac_cv_header_windows_h=no
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_member_struct_msghdr_msg_flags=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_have_svnversion=svnversion
ac_cv_prog_make_make_set=yes
ac_cv_search_alGenBuffers=-lopenal
ac_cv_search_fribidi_log2vis=no
ac_cv_search_glNewList=-lGL
ac_cv_search_ov_open=-lvorbisfile
ac_cv_type_socklen_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_prog_tar_ustar=gnutar
pkg_cv_LIBCURL_CFLAGS=' '
pkg_cv_LIBCURL_LIBS=/usr/lib

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /pkgs/games/supertuxkart/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /pkgs/games/supertuxkart/missing --run tar'
AUTOCONF='${SHELL} /pkgs/games/supertuxkart/missing --run autoconf'
AUTOHEADER='${SHELL} /pkgs/games/supertuxkart/missing --run autoheader'
AUTOMAKE='${SHELL} /pkgs/games/supertuxkart/missing --run automake-1.11'
AWK='gawk'
BULLETTREE='src/bullet'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS=' -Wall -Wstrict-prototypes -Wmissing-prototypes -DNDEBUG -O2'
CPP='gcc -E'
CPPFLAGS=' -I/usr/local/include -I /usr/include/irrlicht -I/usr/local/include'
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=' -Wall -DNDEBUG -O2'
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"supertuxkart\" -DPACKAGE_TARNAME=\"supertuxkart\" -DPACKAGE_VERSION=\"SVN\" -DPACKAGE_STRING=\"supertuxkart\ SVN\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"supertuxkart\" -DVERSION=\"SVN\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_AL_AL_H=1 -DHAVE_OGGVORBIS=1 -DSVNVERSION=\"8518\" -DBT_NO_PROFILE=/\*\*/ -DHAS_GETHOSTBYADDR_R=1 -DHAS_GETHOSTBYNAME_R=1 -DHAS_POLL=1 -DHAS_FCNTL=1 -DHAS_INET_PTON=1 -DHAS_INET_NTOP=1 -DHAS_MSGHDR_FLAGS=1 -DHAS_SOCKLEN_T=1'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENETTREE='src/enet'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=' -L/usr/local/lib -L/usr/local/lib'
LIBCURL_CFLAGS=' '
LIBCURL_LIBS='/usr/lib'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /pkgs/games/supertuxkart/missing --run makeinfo'
MKDIR_P='/bin/mkdir -p'
NOELIDE='-fno-elide-constructors'
OBJEXT='o'
PACKAGE='supertuxkart'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='supertuxkart'
PACKAGE_STRING='supertuxkart SVN'
PACKAGE_TARNAME='supertuxkart'
PACKAGE_URL=''
PACKAGE_VERSION='SVN'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='SVN'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
bullet_LIBS='-Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enet_LIBS='-Lenet -lenet'
exec_prefix='${prefix}'
fribidi_LIBS=''
have_svnversion='svnversion'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /pkgs/games/supertuxkart/install-sh'
irrlicht_LIBS='-L//usr/lib/Linux -L//usr/lib -lIrrlicht'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oggvorbis_LIBS='-lvorbisfile '
oldincludedir='/usr/include'
openal_LIBS='-lopenal '
opengl_LIBS='-lGL '
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "supertuxkart"
#define PACKAGE_TARNAME "supertuxkart"
#define PACKAGE_VERSION "SVN"
#define PACKAGE_STRING "supertuxkart SVN"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "supertuxkart"
#define VERSION "SVN"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_AL_AL_H 1
#define HAVE_OGGVORBIS 1
#define SVNVERSION "8518"
#define BT_NO_PROFILE /**/
#define HAS_GETHOSTBYADDR_R 1
#define HAS_GETHOSTBYNAME_R 1
#define HAS_POLL 1
#define HAS_FCNTL 1
#define HAS_INET_PTON 1
#define HAS_INET_NTOP 1
#define HAS_MSGHDR_FLAGS 1
#define HAS_SOCKLEN_T 1

configure: exit 0

bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: STK-0.7.1b compilation problem

Postby hiker » 09 May 2011, 01:15

Hi,

thanks. What is the output of the following commands:
{l Code}: {l Select All Code}
pkg-config --exists --print-errors "libcurl >= 0.1"
echo $?
pkg-config --cflags --print-errors "libcurl >= 0.1"
pkg-config --libs --print-errors "libcurl >= 0.1"

From the config.log file the echo statement should print a 0. Somehow you are getting "/usr/lib" as a result of the --libs command (while it should be something like "-lcurl", perhaps with some paths). I am not sure if your curl installation is broken, or your automake. Could you also post the (compressed) configure script you are using?

Thanks!
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: STK-0.7.1b compilation problem

Postby bovineuniversity » 09 May 2011, 02:55

{l Code}: {l Select All Code}
weishaar@heimlich2:~$     pkg-config --exists --print-errors "libcurl >= 0.1"
weishaar@heimlich2:~$     echo $?
0
weishaar@heimlich2:~$     pkg-config --cflags --print-errors "libcurl >= 0.1"
 
weishaar@heimlich2:~$     pkg-config --libs --print-errors "libcurl >= 0.1"
-lcurl 

Here's my configure file : http://captaincheeto.com/supertuxkart/configure.txt
bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: STK-0.7.1b compilation problem

Postby hiker » 09 May 2011, 03:28

bovineuniversity {l Wrote}:
{l Code}: {l Select All Code}
weishaar@heimlich2:~$     pkg-config --exists --print-errors "libcurl >= 0.1"
weishaar@heimlich2:~$     echo $?
0
weishaar@heimlich2:~$     pkg-config --cflags --print-errors "libcurl >= 0.1"
 
weishaar@heimlich2:~$     pkg-config --libs --print-errors "libcurl >= 0.1"
-lcurl 

Here's my configure file : http://captaincheeto.com/supertuxkart/configure.txt

Is it possible that you have (or had) an environment variable LIBCURL_LIBS defined? From the log file I can see that it only tests for libcurl>=0.1 once - and it's where it is determining the cflags (which are empty). But it skips the test for the loader flags, which it only does if LIBCURL_LIBS is defined (or some problems with pkg-config, but that shouldn't be the case, since they were ok when testing for cflags). If not, the only option I see is adding a 'set -x' to configure (at around line 6224), re-run configure and collect stderr in a file, then post this file.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: STK-0.7.1b compilation problem

Postby bovineuniversity » 09 May 2011, 20:05

I'm not exactly sure why.... but it compiles now. I saw the script called "reconf.sh", and even though it just does an autogen, configure, and make I tried it. And everythign compiled fine. Then I checked out the latest version from SVN and it compiles fine too. The output from the pkg-config commands above are the same too. I'm confused, but glad it's working again.
bovineuniversity
 
Posts: 66
Joined: 14 Apr 2011, 19:28

Re: STK-0.7.1b compilation problem

Postby Arthur » 18 May 2011, 20:33

Got the same problem now, on Ubuntu Netbook Edition 10.04.
{l Code}: {l Select All Code}
checking for LIBCURL... configure: error: Package requirements (libcurl >= 0.1) were not met:

No package 'libcurl' found

It used to work before. ./reconf.sh just gave me the error message about Irrlicht being too old. I compiled Irrlicht from SVN, but I haven't installed the SVN version system-wide.
I even did a new checkout of STK from svn, but it didn't help. And I have not fooled around with any environment variables either, AFAIR.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Re: STK-0.7.1b compilation problem

Postby hiker » 18 May 2011, 23:53

Arthur {l Wrote}:Got the same problem now, on Ubuntu Netbook Edition 10.04.
{l Code}: {l Select All Code}
checking for LIBCURL... configure: error: Package requirements (libcurl >= 0.1) were not met:

No package 'libcurl' found

It used to work before. ./reconf.sh just gave me the error message about Irrlicht being too old. I compiled Irrlicht from SVN, but I haven't installed the SVN version system-wide.

That shouldn't be necessary as long as you specify the --with-irrlicht=... parameter during configure.

I even did a new checkout of STK from svn, but it didn't help. And I have not fooled around with any environment variables either, AFAIR.

Your case is different from the one reported with libcurl before - you don't get past configure, he couldn't compile.

Can you post your config.log file?

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: STK-0.7.1b compilation problem

Postby Arthur » 19 May 2011, 22:08

I did specify --with-irrlicht.
Anyways, here's my config.log file.
Attachments
config.log
(36.12 KiB) Downloaded 371 times
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Re: STK-0.7.1b compilation problem

Postby hiker » 19 May 2011, 23:57

Arthur {l Wrote}:I did specify --with-irrlicht.
Anyways, here's my config.log file.

And it shows:
{l Code}: {l Select All Code}
configure:6141: checking for pkg-config
configure:6159: found /usr/bin/pkg-config
configure:6171: result: /usr/bin/pkg-config
configure:6196: checking pkg-config is at least version 0.9.0
configure:6199: result: yes
configure:6210: checking for LIBCURL
configure:6218: $PKG_CONFIG --exists --print-errors "libcurl >= 0.1"
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found

So either you don't have libcurl installed, or an older version, or your pkg-config database is wrong. Check it by using:
{l Code}: {l Select All Code}
/usr/bin/pkg-config  --exists --print-errors "libcurl >= 0.1"
/usr/bin/pkg-config  --libs  --print-errors "libcurl >= 0.1"

The first line should output nothing (but in your case you will get an error message I assume), the second line should display something like:
{l Code}: {l Select All Code}
-lcurl

(though there might be a -L before that) - and again I don't expect this to work in your case.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: STK-0.7.1b compilation problem

Postby modz » 20 May 2011, 05:13

hi,
i have supertuxkart-0.7.1b-linux-glibc2.12-x86-64.tar.bz2
i'm use slackware13.37+GSB3.0 64bit.
when i run the program i get this error:
bin/supertuxkart: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: no such file or directory


how to solve this error?

thank you
AMD Vishera FX-8350
MSI 970-Gaming
RAM 8GB DDR3 dual-channel
VGA HIS Radeon R9 270X 2GB 256bit DDR5

### STK fans ###
modz
 
Posts: 49
Joined: 20 May 2011, 04:49

Re: STK-0.7.1b compilation problem

Postby hiker » 20 May 2011, 13:06

modz {l Wrote}:hi,
i have supertuxkart-0.7.1b-linux-glibc2.12-x86-64.tar.bz2
i'm use slackware13.37+GSB3.0 64bit.
when i run the program i get this error:
bin/supertuxkart: error while loading shared libraries: libgssapi_krb5.so.2: cannot open shared object file: no such file or directory


Googling for this error messages gives a few web pages recommending to force a re-install of krb5-libs (or a similar name, e.g. libk5b5, ...) - check what the proper name for your distribution is, I don't know slackware (but perhaps someone else here knows).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: STK-0.7.1b compilation problem

Postby Arthur » 20 May 2011, 13:09

hiker, I had 'libcurl3' and 'libcurl3-gnutls' installed already. After installing the package 'libcurl4-openssl-dev' it worked fine. :D
Apparently, the *gnutls and *openssl-dev packages are solving the virtual package 'libcurl-dev'. But somehow you must have upped the requirement from libcurl3* to libcurl4*, since it used to work fine on this machine before. Anyway, problem resolved. :D
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Who is online

Users browsing this forum: No registered users and 1 guest