totally new to linux
Moderator: Forum Moderators
totally new to linux
I am new to Linux and I´m trying to install this game.
I have followed the install file and have the game loaded into /games/wesnoth-0.8.8
Could someone look at the log file and let me know where the problem is.
Thanks for your help
Regards --Stuart
The config.log file reads --
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Battle for Wesnoth configure 0.8.8, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ /games/wesnoth-0.8.8/configure
## --------- ##
## Platform. ##
## --------- ##When I went to compile following the configure I received an error
hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.10-1.741_FC3
uname -s = Linux
uname -v = #1 Thu Jan 13 16:38:22 EST 2005
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
When I went to compile following the configure I received an error
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /binWhen I went to compile following the configure I received an error
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1417: checking for a BSD-compatible install
configure:1472: result: /usr/bin/install -c
configure:1483: checking whether build environment is sane
configure:1526: result: yes
configure:1583: checking for gawk
configure:1599: found /bin/gawk
configure:1609: result: gawk
configure:1619: checking whether make sets $(MAKE)
configure:1639: result: yes
configure:1807: checking whether to enable maintainer-specific portions of Makefiles
configure:1816: result: no
configure:1845: checking whether NLS is requested
configure:1854: result: yes
configure:1892: checking for msgfmt
configure:1923: result: /usr/bin/msgfmt
configure:1932: checking for gmsgfmt
configure:1963: result: /usr/bin/msgfmt
configure:2002: checking for xgettext
configure:2033: result: /usr/bin/xgettext
configure:2073: checking for msgmerge
configure:2103: result: /usr/bin/msgmerge
configure:2150: checking for style of include used by make
configure:2178: result: GNU
configure:2249: checking for gcc
configure:2278: result: no
configure:2329: checking for cc
configure:2358: result: no
configure:2371: checking for cc
configure:2417: result: no
configure:2470: checking for cl
configure:2499: result: no
configure:2513: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_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_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_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/bin/msgmerge
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /games/wesnoth-0.8.8/config/missing --run aclocal-1.8'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /games/wesnoth-0.8.8/config/missing --run tar'
AUTOCONF='${SHELL} /games/wesnoth-0.8.8/config/missing --run autoconf'
AUTOHEADER='${SHELL} /games/wesnoth-0.8.8/config/missing --run autoheader'
AUTOMAKE='${SHELL} /games/wesnoth-0.8.8/config/missing --run automake-1.8'
AWK='gawk'
BUILD_INCLUDED_LIBINTL=''
CAMPAIGNSERVER_FALSE=''
CAMPAIGNSERVER_TRUE=''
CATOBJEXT=''
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIR=''
DATADIRNAME=''
DATA_FILES=''
DEFS=''When I went to compile following the configure I received an error
DEPDIR='.deps'
DESKTOPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EDITOR_FALSE=''
EDITOR_TRUE=''
EGREP=''
EXEEXT=''
FONT_FILES=''
FREETYPE_CONFIG=''
FREETYPE_LIBS=''
FULLLOCALEDIR=''
GCC_FALSE=''
GCC_TRUE=''
GENCAT=''
GLIBC21=''
GMSGFMT='/usr/bin/msgfmt'
GNOME1_DESKTOP=''
GNOME1_FALSE=''
GNOME1_TRUE=''
GNOME2_FALSE=''
GNOME2_TRUE=''
GNOME_CONFIG=''
HAS_RELATIVE_LOCALEDIR=''
HAVE_ASPRINTF=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_WPRINTF=''
ICONDIR=''
IMAGE_FILES=''
INCLUDEDINTL_FALSE=''
INCLUDEDINTL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
KDE_CONFIG=''
KDE_DESKTOP=''
KDE_FALSE=''
KDE_ICON=''
KDE_TRUE=''
LDFLAGS=''
LDPREFIX=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPNG_FALSE=''
LIBPNG_TRUE=''
LIBS=''
LITE_FALSE=''
LITE_TRUE=''
LOCALEDIR=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LTOOL=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /games/wesnoth-0.8.8/config/missing --run makeinfo'
MKINSTALLDIRS='$(top_builddir)/config/mkinstalldirs'
MSGFMT='/usr/bin/msgfmt'
MSGMERGE='/usr/bin/msgmerge'
MUSIC_FILES=''
OBJEXT=''
PACKAGE='wesnoth'
PACKAGE_BUGREPORT='davidnwhite@optusnet.com.au'
PACKAGE_NAME='Battle for Wesnoth'
PACKAGE_STRING='Battle for Wesnoth 0.8.8'
PACKAGE_TARNAME='wesnoth'
PACKAGE_VERSION='0.8.8'
PATH_SEPARATOR=':'
PNG_CFLAGS=''
PNG_CONFIG=''
PNG_LIBS=''
POSUB=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_IMAGE_LIBS=''
SDL_LIBS=''
SDL_MIXER_LIBS=''
SDL_NET_LIBS=''
SERVER_FALSE=''
SERVER_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
SOUND_FILES=''
STATIC_FALSE=''
STATIC_TRUE=''
STRIP=''
TINYGUI_FALSE=''
TINYGUI_TRUE=''
TOOLS_FALSE=''
TOOLS_TRUE=''
USE_INCLUDED_LIBINTL=''
USE_NLS='yes'
VERSION='0.8.8'
WZIP_FALSE=''
WZIP_TRUE=''
X11_FALSE=''
X11_TRUE=''
XGETTEXT='/usr/bin/xgettext'
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/games/wesnoth-0.8.8/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "wesnoth"
#define PACKAGE_BUGREPORT "davidnwhite@optusnet.com.au"
#define PACKAGE_NAME "Battle for Wesnoth"
#define PACKAGE_STRING "Battle for Wesnoth 0.8.8"
#define PACKAGE_TARNAME "wesnoth"
#define PACKAGE_VERSION "0.8.8"
#define VERSION "0.8.8"
#define WESNOTH_DEFAULT_SERVER "devsrv.wesnoth.org"
configure: exit 1
I have followed the install file and have the game loaded into /games/wesnoth-0.8.8
Could someone look at the log file and let me know where the problem is.
Thanks for your help
Regards --Stuart
The config.log file reads --
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Battle for Wesnoth configure 0.8.8, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ /games/wesnoth-0.8.8/configure
## --------- ##
## Platform. ##
## --------- ##When I went to compile following the configure I received an error
hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.10-1.741_FC3
uname -s = Linux
uname -v = #1 Thu Jan 13 16:38:22 EST 2005
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
When I went to compile following the configure I received an error
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /binWhen I went to compile following the configure I received an error
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1417: checking for a BSD-compatible install
configure:1472: result: /usr/bin/install -c
configure:1483: checking whether build environment is sane
configure:1526: result: yes
configure:1583: checking for gawk
configure:1599: found /bin/gawk
configure:1609: result: gawk
configure:1619: checking whether make sets $(MAKE)
configure:1639: result: yes
configure:1807: checking whether to enable maintainer-specific portions of Makefiles
configure:1816: result: no
configure:1845: checking whether NLS is requested
configure:1854: result: yes
configure:1892: checking for msgfmt
configure:1923: result: /usr/bin/msgfmt
configure:1932: checking for gmsgfmt
configure:1963: result: /usr/bin/msgfmt
configure:2002: checking for xgettext
configure:2033: result: /usr/bin/xgettext
configure:2073: checking for msgmerge
configure:2103: result: /usr/bin/msgmerge
configure:2150: checking for style of include used by make
configure:2178: result: GNU
configure:2249: checking for gcc
configure:2278: result: no
configure:2329: checking for cc
configure:2358: result: no
configure:2371: checking for cc
configure:2417: result: no
configure:2470: checking for cl
configure:2499: result: no
configure:2513: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
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_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_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_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/bin/msgmerge
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /games/wesnoth-0.8.8/config/missing --run aclocal-1.8'
ALLOCA=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /games/wesnoth-0.8.8/config/missing --run tar'
AUTOCONF='${SHELL} /games/wesnoth-0.8.8/config/missing --run autoconf'
AUTOHEADER='${SHELL} /games/wesnoth-0.8.8/config/missing --run autoheader'
AUTOMAKE='${SHELL} /games/wesnoth-0.8.8/config/missing --run automake-1.8'
AWK='gawk'
BUILD_INCLUDED_LIBINTL=''
CAMPAIGNSERVER_FALSE=''
CAMPAIGNSERVER_TRUE=''
CATOBJEXT=''
CC=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIR=''
DATADIRNAME=''
DATA_FILES=''
DEFS=''When I went to compile following the configure I received an error
DEPDIR='.deps'
DESKTOPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EDITOR_FALSE=''
EDITOR_TRUE=''
EGREP=''
EXEEXT=''
FONT_FILES=''
FREETYPE_CONFIG=''
FREETYPE_LIBS=''
FULLLOCALEDIR=''
GCC_FALSE=''
GCC_TRUE=''
GENCAT=''
GLIBC21=''
GMSGFMT='/usr/bin/msgfmt'
GNOME1_DESKTOP=''
GNOME1_FALSE=''
GNOME1_TRUE=''
GNOME2_FALSE=''
GNOME2_TRUE=''
GNOME_CONFIG=''
HAS_RELATIVE_LOCALEDIR=''
HAVE_ASPRINTF=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_WPRINTF=''
ICONDIR=''
IMAGE_FILES=''
INCLUDEDINTL_FALSE=''
INCLUDEDINTL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
KDE_CONFIG=''
KDE_DESKTOP=''
KDE_FALSE=''
KDE_ICON=''
KDE_TRUE=''
LDFLAGS=''
LDPREFIX=''
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBPNG_FALSE=''
LIBPNG_TRUE=''
LIBS=''
LITE_FALSE=''
LITE_TRUE=''
LOCALEDIR=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LTOOL=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /games/wesnoth-0.8.8/config/missing --run makeinfo'
MKINSTALLDIRS='$(top_builddir)/config/mkinstalldirs'
MSGFMT='/usr/bin/msgfmt'
MSGMERGE='/usr/bin/msgmerge'
MUSIC_FILES=''
OBJEXT=''
PACKAGE='wesnoth'
PACKAGE_BUGREPORT='davidnwhite@optusnet.com.au'
PACKAGE_NAME='Battle for Wesnoth'
PACKAGE_STRING='Battle for Wesnoth 0.8.8'
PACKAGE_TARNAME='wesnoth'
PACKAGE_VERSION='0.8.8'
PATH_SEPARATOR=':'
PNG_CFLAGS=''
PNG_CONFIG=''
PNG_LIBS=''
POSUB=''
RANLIB=''
SDL_CFLAGS=''
SDL_CONFIG=''
SDL_IMAGE_LIBS=''
SDL_LIBS=''
SDL_MIXER_LIBS=''
SDL_NET_LIBS=''
SERVER_FALSE=''
SERVER_TRUE=''
SET_MAKE=''
SHELL='/bin/sh'
SOUND_FILES=''
STATIC_FALSE=''
STATIC_TRUE=''
STRIP=''
TINYGUI_FALSE=''
TINYGUI_TRUE=''
TOOLS_FALSE=''
TOOLS_TRUE=''
USE_INCLUDED_LIBINTL=''
USE_NLS='yes'
VERSION='0.8.8'
WZIP_FALSE=''
WZIP_TRUE=''
X11_FALSE=''
X11_TRUE=''
XGETTEXT='/usr/bin/xgettext'
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/games/wesnoth-0.8.8/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "wesnoth"
#define PACKAGE_BUGREPORT "davidnwhite@optusnet.com.au"
#define PACKAGE_NAME "Battle for Wesnoth"
#define PACKAGE_STRING "Battle for Wesnoth 0.8.8"
#define PACKAGE_TARNAME "wesnoth"
#define PACKAGE_VERSION "0.8.8"
#define VERSION "0.8.8"
#define WESNOTH_DEFAULT_SERVER "devsrv.wesnoth.org"
configure: exit 1
Or you might have an older version, in which case you'll need to upgrade.
Try typing:
BTW what distribution are you using?
Try typing:
Code: Select all
gcc -v
I think some typical GNU/Linux distributions make it very easy for novice users to install without a compiler. They figure that compilers are for developers and a novice user isn't going to want to develop.
The problem is that they ignore that many useful applications for GNU/Linux are easiest installed through compilation....and one doesn't need to be a genius to compile them.
David
The problem is that they ignore that many useful applications for GNU/Linux are easiest installed through compilation....and one doesn't need to be a genius to compile them.
David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
And when they do include a compiler, they leave out the library headers so you can't compile anything anyway.
(I recently ranted about this on the Freeciv forum...)
(I recently ranted about this on the Freeciv forum...)
Right..... "did you want the developer libraries with that?"dms wrote:And when they do include a compiler, they leave out the library headers so you can't compile anything anyway.
(I recently ranted about this on the Freeciv forum...)
The user thinks that developer libraries are only for developers...so they don't install them, and then wonder why they can't compile...
David
“At Gambling, the deadly sin is to mistake bad play for bad luck.” -- Ian Fleming
i just know how to do on a debian-sarge sys, but maybe it helps on your either:
if you are using Bash (never used another shell so i dont know if that works on others):
1) try to find out, where libsdl is located on your system.
mine is located in /usr/lib (-> debian)
2)then try to find out, if the directory is in the path:
echo $PATH
if the directory is in the path, i dunno what to do.
if not, then:
export PATH=$PATH:/usr/lib (should add the directory, in which libsdl lies, to the PATH)
this will only work in the console in which you used 'export'
now configure should be able to use libsdl1.2 (start it in the same console)
hope that ll help
if you are using Bash (never used another shell so i dont know if that works on others):
1) try to find out, where libsdl is located on your system.
mine is located in /usr/lib (-> debian)
2)then try to find out, if the directory is in the path:
echo $PATH
if the directory is in the path, i dunno what to do.
if not, then:
export PATH=$PATH:/usr/lib (should add the directory, in which libsdl lies, to the PATH)
this will only work in the console in which you used 'export'
now configure should be able to use libsdl1.2 (start it in the same console)
hope that ll help
PATH is to find binaries not libraries.
To get the right flags to the compiler so header files can be found you usally use pkg-config that reads from a file in /usr/lib/pkgconfig (default) that tells where the neccesary files are. When it comes to SDL i think there is a sdl-config just for that purpose. Don't know where it stores its data though.
Try to run:
and watch the output if it seems to make sense. If not you have to find whre SDL stores the info about where it's installed. (the library files shouldn't be a problem since they propably are in /usr/lib which should be one of the default paths to look for libs in)
To get the right flags to the compiler so header files can be found you usally use pkg-config that reads from a file in /usr/lib/pkgconfig (default) that tells where the neccesary files are. When it comes to SDL i think there is a sdl-config just for that purpose. Don't know where it stores its data though.
Try to run:
Code: Select all
sdl-config --cflags
sdl-config --libs
-
- Posts: 49
- Joined: July 22nd, 2004, 4:50 pm
- Location: Poland
For Stu1989:
Most probably you don't have the so-called "developer version" installed (meaning you don't have header files and static libraries). Therefore you can only run programs using sdl, but you cannot compile anything using sdl. If you are using some .rpm based distribution (RedHat, Fedora, Mandrake), try installing or libsdl-devel (maybe sdl-devel, names may vary). You will probabaly also need sdl-ttf-devel.
If you are sure you have devel versions installed, but configure still complains, you may need to change CPPFLAGS and LDFLAGS before starting the instalation:
export CPPFLAGS="$CPPFLAGS -I/path_to_sdl_headers/"
export LDFLAGS="$LDFLAGS -L/path_to_sdl_libraries/"
Most probably you don't have the so-called "developer version" installed (meaning you don't have header files and static libraries). Therefore you can only run programs using sdl, but you cannot compile anything using sdl. If you are using some .rpm based distribution (RedHat, Fedora, Mandrake), try installing or libsdl-devel (maybe sdl-devel, names may vary). You will probabaly also need sdl-ttf-devel.
If you are sure you have devel versions installed, but configure still complains, you may need to change CPPFLAGS and LDFLAGS before starting the instalation:
export CPPFLAGS="$CPPFLAGS -I/path_to_sdl_headers/"
export LDFLAGS="$LDFLAGS -L/path_to_sdl_libraries/"
Related newbie question, I went to the site for sdl libraries. None of them were marked devel except the main one. I could not find the devel version for img and the other ones. So of course it didn't compile.
The good news is I got it installed anyway. The rpm for the Mandrake 10.0 distro that I have installed worked just fine. It even put wesnoth in my start up menu.
The good news is I got it installed anyway. The rpm for the Mandrake 10.0 distro that I have installed worked just fine. It even put wesnoth in my start up menu.
-
- Posts: 49
- Joined: July 22nd, 2004, 4:50 pm
- Location: Poland
There's a small mismatch of concepts. A library consist of header files and object files (shared or static). So as to run a compiled program you only need the static one, but to compile a program using that library, yoy need the headers. RedHat and followers split their library packages in two parts - the one containing headers and static libraries is known as "devel".Jastiv wrote:Related newbie question, I went to the site for sdl libraries. None of them were marked devel except the main one.
But , in fact, authors of the libraries do not split them - why would they? They release source code that allows you to build all needed parts. So, if you're not downloading an rpm but source code of library, don't look for "devel" version. Just grab a stable release.