LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-21-2011, 10:31 AM   #1
kumaaran
LQ Newbie
 
Registered: Aug 2009
Posts: 18

Rep: Reputation: 1
Errors encountered while trying to make - foobillard


Dear Friends,

Have been trying to install foobillard, downloaded tar ball from sourceforge.net, in my CentOS 6 box.

Earlier the configure process used to complain the absence of gcc. After the installation of gcc, the configure process goes through fine and suggests " Now run make ..."

However, when I run make, I get a hoarse of errors.

Any help please?

Thanks

[@
Code:
Code:
lintriax foobillardplus-3.41beta]$ sudo ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target 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 a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for png_read_image in -lpng... no
checking for SDL_Init in -lSDL... no
checking for SDL_LockAudio in -lSDL... no
checking for SDLNet_Init in -lSDL_net... no
no
checking for pow in -lm... yes
checking how to run the C preprocessor... gcc -E
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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for X... no
checking for socket... yes
checking for poll... yes
checking whether to enable aggressive optimization flags... no
checking whether to enable standard optimization flags... no
checking whether to enable special optimization flags... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating foobillardplus.spec
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands

General configuration ================================================

    CC:                       gcc
    CFLAGS:                   
    LDFLAGS:                  

    Install path:             /opt/foobillardplus
    Binary dir:               /opt/foobillardplus/bin
    Data rootdir:             /opt/foobillardplus/data
    Data dir:                 /opt/foobillardplus/data
    Locale dir:               /opt/foobillardplus/data/locale
    Doc dir:                  /opt/foobillardplus/data/locale

    Debug flags:              
    Optimization flags:       
    Mathsingle precision:     yes
    Sound compiling:          yes
    Generic Touchdevice:      no
    WeTab Tablet compiling:   no
    Network compiling:        yes
    use sse                   

Now run make ...
Output of Make is too long to fetch; however, I produce below the last few lines:


Code:
make[2]: *** [billard3d.o] Error 1
make[2]: Leaving directory `/opt/foobillardplus-3.41beta/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/foobillardplus-3.41beta/src'
make: *** [all-recursive] Error 1

Last edited by kumaaran; 12-21-2011 at 10:42 AM. Reason: Addition of Make command output
 
Old 12-21-2011, 11:32 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
checking for png_read_image in -lpng... no
checking for SDL_Init in -lSDL... no
checking for SDL_LockAudio in -lSDL... no
checking for SDLNet_Init in -lSDL_net... no
.
.
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
# yum install \
libpng-devel SDL-devel SDL_net-devel mesa-libGLU-devel mesa-libGL-devel

By the way : Running ./configure and make, using 'sudo' or 'su' is wrong.
Root is only required for 'make install'.


P.S. :
Package names can be found with : yum provides */SDL.h ,
yum provides */SDL_net.h , yum provides */glu.h , yum provides */gl.h
.. and # yum search png-devel SDL SDL_net

..

Last edited by knudfl; 12-21-2011 at 11:47 AM.
 
Old 12-21-2011, 11:58 AM   #3
kumaaran
LQ Newbie
 
Registered: Aug 2009
Posts: 18

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
# yum install \
libpng-devel SDL-devel SDL_net-devel mesa-libGLU-devel mesa-libGL-devel

By the way : Running ./configure and make, using 'sudo' or 'su' is wrong.
Root is only required for 'make install'.


P.S. :
Package names can be found with : yum provides */SDL.h ,
yum provides */SDL_net.h , yum provides */glu.h , yum provides */gl.h
.. and # yum search png-devel SDL SDL_net

..
Dear knudfl,

Thanks for your help.

I did what you had suggested but I do get different kind of errors this time. Am posting the errors while doing the 'make' process here. Grateful for your further help in solving this as well as making me understand the whole process, which am already on to.

Thanks once again.

Warm regards

Code:
@lintriax foobillardplus-3.41beta]$ sudo make
Making all in src
make[1]: Entering directory `/opt/foobillardplus-3.41beta/src'
make  all-am
make[2]: Entering directory `/opt/foobillardplus-3.41beta/src'
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT billard.o -MD -MP -MF .deps/billard.Tpo -c -o billard.o billard.c
/bin/sh: freetype-config: command not found
mv -f .deps/billard.Tpo .deps/billard.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT vmath.o -MD -MP -MF .deps/vmath.Tpo -c -o vmath.o vmath.c
/bin/sh: freetype-config: command not found
mv -f .deps/vmath.Tpo .deps/vmath.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT ball.o -MD -MP -MF .deps/ball.Tpo -c -o ball.o ball.c
/bin/sh: freetype-config: command not found
mv -f .deps/ball.Tpo .deps/ball.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT png_loader.o -MD -MP -MF .deps/png_loader.Tpo -c -o png_loader.o png_loader.c
/bin/sh: freetype-config: command not found
mv -f .deps/png_loader.Tpo .deps/png_loader.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT table.o -MD -MP -MF .deps/table.Tpo -c -o table.o table.c
/bin/sh: freetype-config: command not found
mv -f .deps/table.Tpo .deps/table.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT queue.o -MD -MP -MF .deps/queue.Tpo -c -o queue.o queue.c
/bin/sh: freetype-config: command not found
mv -f .deps/queue.Tpo .deps/queue.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT aiplayer.o -MD -MP -MF .deps/aiplayer.Tpo -c -o aiplayer.o aiplayer.c
/bin/sh: freetype-config: command not found
mv -f .deps/aiplayer.Tpo .deps/aiplayer.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.c
/bin/sh: freetype-config: command not found
mv -f .deps/options.Tpo .deps/options.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT evaluate_move.o -MD -MP -MF .deps/evaluate_move.Tpo -c -o evaluate_move.o evaluate_move.c
/bin/sh: freetype-config: command not found
mv -f .deps/evaluate_move.Tpo .deps/evaluate_move.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT helpscreen.o -MD -MP -MF .deps/helpscreen.Tpo -c -o helpscreen.o helpscreen.c
/bin/sh: freetype-config: command not found
mv -f .deps/helpscreen.Tpo .deps/helpscreen.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT textobj.o -MD -MP -MF .deps/textobj.Tpo -c -o textobj.o textobj.c
/bin/sh: freetype-config: command not found
mv -f .deps/textobj.Tpo .deps/textobj.Po
gcc -DHAVE_CONFIG_H -I.    -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND    -DNETWORKING -DVMATH_SINGLE_PRECISION   -lm  -MT font.o -MD -MP -MF .deps/font.Tpo -c -o font.o font.c
/bin/sh: freetype-config: command not found
font.c:27:22: error: ft2build.h: No such file or directory
font.c:28:10: error: #include expects "FILENAME" or <FILENAME>
font.c:29:10: error: #include expects "FILENAME" or <FILENAME>
font.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘library’
font.c:101: error: expected specifier-qualifier-list before ‘FT_Vector’
font.c: In function ‘new_tessdata’:
font.c:111: error: ‘struct TessData’ has no member named ‘first_call’
font.c: At top level:
font.c:204: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘decode’
font.c: In function ‘getStringPixmapFT’:
font.c:269: error: ‘FT_Face’ undeclared (first use in this function)
font.c:269: error: (Each undeclared identifier is reported only once
font.c:269: error: for each function it appears in.)
font.c:269: error: expected ‘;’ before ‘face’
font.c:271: error: ‘FT_ULong’ undeclared (first use in this function)
font.c:271: error: expected ‘;’ before ‘realindex’
font.c:276: warning: implicit declaration of function ‘FT_Init_FreeType’
font.c:276: error: ‘library’ undeclared (first use in this function)
font.c:284: warning: implicit declaration of function ‘FT_New_Face’
font.c:284: error: ‘face’ undeclared (first use in this function)
font.c:285: error: ‘FT_Err_Unknown_File_Format’ undeclared (first use in this function)
font.c:296: warning: implicit declaration of function ‘FT_Set_Pixel_Sizes’
font.c:315: error: ‘n’ undeclared (first use in this function)
font.c:316: error: ‘FT_UInt’ undeclared (first use in this function)
font.c:316: error: expected ‘;’ before ‘glyph_index’
font.c:318: error: ‘realindex’ undeclared (first use in this function)
font.c:318: warning: implicit declaration of function ‘decode’
font.c:318: error: ‘newindex’ undeclared (first use in this function)
font.c:323: error: ‘glyph_index’ undeclared (first use in this function)
font.c:323: warning: implicit declaration of function ‘FT_Get_Char_Index’
font.c:326: warning: implicit declaration of function ‘FT_Load_Glyph’
font.c:326: error: ‘FT_LOAD_DEFAULT’ undeclared (first use in this function)
font.c:330: warning: implicit declaration of function ‘FT_Render_Glyph’
font.c:330: error: ‘FT_RENDER_MODE_NORMAL’ undeclared (first use in this function)
font.c:350: warning: implicit declaration of function ‘FT_Done_Face’
font.c: At top level:
font.c:411: error: expected ‘)’ before ‘*’ token
font.c:433: error: expected ‘)’ before ‘*’ token
font.c:472: error: expected ‘)’ before ‘*’ token
font.c:495: error: expected ‘)’ before ‘*’ token
font.c:519: error: expected ‘)’ before ‘glyph’
font.c: In function ‘getStringGLListFT’:
font.c:607: error: ‘FT_Face’ undeclared (first use in this function)
font.c:607: error: expected ‘;’ before ‘face’
font.c:609: error: ‘FT_ULong’ undeclared (first use in this function)
font.c:609: error: expected ‘;’ before ‘n’
font.c:610: error: ‘FT_UInt’ undeclared (first use in this function)
font.c:610: error: expected ‘;’ before ‘glyph_index’
font.c:614: error: ‘library’ undeclared (first use in this function)
font.c:621: error: ‘face’ undeclared (first use in this function)
font.c:623: error: ‘FT_Err_Unknown_File_Format’ undeclared (first use in this function)
font.c:631: warning: implicit declaration of function ‘FT_Set_Char_Size’
font.c:645: error: ‘n’ undeclared (first use in this function)
font.c:646: error: ‘realindex’ undeclared (first use in this function)
font.c:646: error: ‘newindex’ undeclared (first use in this function)
font.c:652: error: ‘glyph_index’ undeclared (first use in this function)
font.c:655: error: ‘FT_LOAD_DEFAULT’ undeclared (first use in this function)
font.c:657: warning: implicit declaration of function ‘makeGLGeometryFT’
make[2]: *** [font.o] Error 1
make[2]: Leaving directory `/opt/foobillardplus-3.41beta/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/foobillardplus-3.41beta/src'
make: *** [all-recursive] Error 1
[@lintriax foobillardplus-3.41beta]$
 
Old 12-21-2011, 12:10 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
yum provides */ft2build.h : freetype-devel
yum provides */freetype-config : freetype-devel
# yum search freetype : freetype-devel

→ → # yum install freetype-devel
 
Old 12-23-2011, 12:57 AM   #5
kumaaran
LQ Newbie
 
Registered: Aug 2009
Posts: 18

Original Poster
Rep: Reputation: 1
Disaster - Centos 6 Not booting

Quote:
Originally Posted by knudfl View Post
yum provides */ft2build.h : freetype-devel
yum provides */freetype-config : freetype-devel
# yum search freetype : freetype-devel

→ → # yum install freetype-devel
Thanks for help. Installed freetype-devel and tried making make but with errors.

Now I have serious problem. After all these processes, I had shut down the system and powered on after about 9 hours, it does not boot... from

"starting udev [OK]" until

"starting libvirt-qmf daemon [OK]"

and halts after

"lo: Disabled Privacy Extensions"

No hard disk activity nor any other signs... it stays in the same state for ever.

Is there a way to recover this system?

Thanks in advance
 
Old 12-23-2011, 01:15 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
... and tried making make but with errors.
.
... it does not boot... from
That's just another reason not to use sudo, when you run 'make' :
A buggy application, or any error can theoretically alter your system files.
( I have no solution .. )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Errors were encountered while processing: nvidia-driver lee_can Linux - Newbie 12 03-05-2011 11:36 AM
Errors were encountered while processing: th1bill Ubuntu 2 11-07-2010 10:37 PM
[SOLVED] encountered several errors downloading Ubuntu 9.04 Sharpdrop Linux - Newbie 5 08-22-2009 12:18 AM
what do these errors encountered upon starting linux mean amanjsingh Linux - Laptop and Netbook 1 12-06-2006 06:19 AM
errors encountered during kernel compile superbondbond Linux - Software 5 08-15-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration