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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-21-2011, 10:31 AM
|
#1
|
LQ Newbie
Registered: Aug 2009
Posts: 18
Rep:
|
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
|
|
|
12-21-2011, 11:32 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
|
|
|
12-21-2011, 11:58 AM
|
#3
|
LQ Newbie
Registered: Aug 2009
Posts: 18
Original Poster
Rep:
|
Quote:
Originally Posted by knudfl
# 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]$
|
|
|
12-21-2011, 12:10 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
yum provides */ft2build.h : freetype-devel
yum provides */freetype-config : freetype-devel
# yum search freetype : freetype-devel
→ → # yum install freetype-devel
|
|
|
12-23-2011, 12:57 AM
|
#5
|
LQ Newbie
Registered: Aug 2009
Posts: 18
Original Poster
Rep:
|
Disaster - Centos 6 Not booting
Quote:
Originally Posted by knudfl
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
|
|
|
12-23-2011, 01:15 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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 .. )
|
|
|
All times are GMT -5. The time now is 01:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|