How to do my first compile in Linux
Community Support question - to convert into a paid question, click here
Lines in bold below have not yet been seen by the customer - those in blue are from the customer
Username : Date : Action : Comments [ close all ] |
|
|
|
dlrivada : 17/10/03 02:58 PM : Incident created |
- Hi,
I'm new in Linux and in a local magazine explain how to do a first compile of la 3.93.1. When I try to do the shell tel me some thing like down. Where I can find the library that I have not? It's the problem other thing?
Thank you.
-------------------------------------------------
[david@localhost david]$ ls
compila/ Desktop/ Documents/ glame-1.0.1/ lame-3.93.1/ Mail/ tmp/
[david@localhost david]$ cd Documents
[david@localhost Documents]$ ls
[david@localhost Documents]$ cd ..
[david@localhost david]$ cd lame-3.93.1
[david@localhost lame-3.93.1]$ ls
acinclude.m4 DEFINES lame_vc6.dsw missing*
aclocal.m4 depcomp* libmp3lame/ mkinstalldirs*
ACM/ Dll/ libtool* mpglib/
API doc/ LICENSE PRESETS.draft
ChangeLog dshow/ ltconfig* README
config.guess* frontend/ ltmain.sh README.B32
config.h HACKING mac/ README.DJGPP
config.h.in include/ Makefile README.WINGTK
config.log INSTALL Makefile.am stamp-h1
configMS.h INSTALL.configure Makefile.am.global stamp-h.in
config.status* install-sh* Makefile.B32 STYLEGUIDE
config.sub* lame.bat* Makefile.DJGPP testcase.mp3
configure* lame.dsw Makefile.in testcase.wav
configure.in lame_projects_vc6.dsp Makefile.MSVC TODO
COPYING lame.spec Makefile.unix USAGE
debian/ lame.spec.in misc/
[david@localhost lame-3.93.1]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output... 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 gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
checking host system type... i686-pc-linux-gnu
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache /dev/null
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for strerror in -lcposix... no
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for gcc option to accept ANSI C... none needed
checking for function prototypes... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking version of GCC... 3.2.2
checking for short... yes
checking size of short... 2
checking for unsigned short... yes
checking size of unsigned short... 2
checking for int... yes
checking size of int... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for long... yes
checking size of long... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for long long... yes
checking size of long long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for float... yes
checking size of float... 4
checking for double... yes
checking size of double... 8
checking for working long double with more range or precision than double... yes
checking for uint8_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for int16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for IEEE854 compliant 80 bit floats... yes
checking for ieee854_float80_t... no
checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for gettimeofday... yes
checking for socket... yes
checking for strtol... yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking ncurses/termcap.h usability... no
checking ncurses/termcap.h presence... no
checking for ncurses/termcap.h... no
checking for initscr in -ltermcap... no
checking for initscr in -lcurses... no
checking for initscr in -lncurses... no
checking for cos in -lm... yes
checking for cos in -lffm... no
checking for cos in -lcpml... no
checking for sf_open_read in -lsndfile... no
checking for gtk-config... gtk12-config
checking for GTK - version >= 1.2.0... ./configure: line 1: gtk12-config: command not found
./configure: line 1: gtk12-config: command not found
./configure: line 1: gtk12-config: command not found
./configure: line 1: gtk12-config: command not found
./configure: line 1: gtk12-config: command not found
no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: gtk12-config
checking use of ElectricFence malloc debugging... "no"
checking use of file io... lame
checking use of analyzer hooks... yes
checking use of mpg123 decoder... yes (Layer 1, 2, 3)
checking use of vorbis... no
checking if the lame frontend should be build... yes
checking if mp3x is requested... no
checking if mp3rtp is requested... no
checking glibc mathinline bug... no
checking use of VBR bitrate histogram... no
checking for FLOAT8 as float... no
checking for nasm... no
checking for additional optimizations... no
checking for debug options... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmp3lame/Makefile
config.status: creating libmp3lame/i386/Makefile
config.status: creating frontend/Makefile
config.status: creating mpglib/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/man/Makefile
config.status: creating include/Makefile
config.status: creating Dll/Makefile
config.status: creating misc/Makefile
config.status: creating debian/Makefile
config.status: creating dshow/Makefile
config.status: creating ACM/Makefile
config.status: creating ACM/ADbg/Makefile
config.status: creating ACM/tinyxml/Makefile
config.status: creating lame.spec
config.status: creating mac/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
[david@localhost lame-3.93.1]$
|
|
|
|
Linegod_7611 : 17/10/03 08:25 PM : Reply received |
- ./configure: line 1: gtk12-config: command not
found
./configure: line 1: gtk12-config: command not
found
./configure: line 1: gtk12-config: command not
found
./configure: line 1: gtk12-config: command not
found
./configure: line 1: gtk12-config: command not
found
no
*** Could not run GTK test program, checking
why...
---------------
Install the gtk-devel packages (may be gtk12-devel, gtk -devel, or others).
Try:
# urpmi gtk-devel
or
# urpmi gtk (should give you a list of available gtk programs)
You can also run 'rpmdrake' as root, and search for 'gtk'
-----
Note: If this answer resolves your problem, please remember to close this
incident.
|
|
|
|
dlrivada : 18/10/03 10:37 PM : More info provided |
- Thank you. The problem has solved you say me.
|
|
|
|
dlrivada : 18/10/03 10:45 PM : Incident closed |
- Thank you. Well support for new user in Linux. That's the reason that Linux now is most easy to learn. You have stealed a user to Windows. ;)
|
|
|
|
Language
Search Mandriva Expert
|