Sponsored Content
Operating Systems OS X (Apple) Install Problem "can't find GLX.h" Post 302484573 by stoucha on Saturday 1st of January 2011 04:06:10 PM
Old 01-01-2011
Install Problem "can't find GLX.h"

Hi.

Somewhat of a newbie.

Trying to install a scientific software package DReAMM/PSC

The PSC component needs to be compiled.

Per instruction I use this command


env MACOSX_DEPLOYMENT_TARGET=10.6 CFLAGS='-O2 -fomit-frame-pointer' \
CXXFLAGS='-O2 -fomit-frame-pointer' ./configure \
--prefix=/usr/local/pscdx --disable-shared --enable-static \
--without-javadx --with-x --with-motif-includes=/sw/include \
--with-motif-libs=/sw/lib --x-includes=/usr/x11 --x-libraries=/usr/x11/lib

Which seems to work fine. Some warnings but no errors.

However sudo make does not succeed:


Making all in src
Making all in exec
Making all in libdx
make all-am
make[4]: Nothing to be done for `all-am'.
Making all in dxmods
make all-am
make[4]: Nothing to be done for `all-am'.
Making all in hwrender
Making all in opengl
sh ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../include -I./.. -I./../../libdx -Dmacos -I/usr/x11 -I/sw/include -O2 -fomit-frame-pointer -I/usr/x11 -I/sw/include -D_GNU_SOURCE -MT hwPortUtilOGL.lo -MD -MP -MF .deps/hwPortUtilOGL.Tpo -c -o hwPortUtilOGL.lo hwPortUtilOGL.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../include -I./.. -I./../../libdx -Dmacos -I/usr/x11 -I/sw/include -O2 -fomit-frame-pointer -I/usr/x11 -I/sw/include -D_GNU_SOURCE -MT hwPortUtilOGL.lo -MD -MP -MF .deps/hwPortUtilOGL.Tpo -c hwPortUtilOGL.c -o hwPortUtilOGL.o
In file included from hwPortUtilOGL.c:40:
hwPortOGL.h:25:20: error: GL/glx.h: No such file or directory
hwPortOGL.h:27:19: error: GL/gl.h: No such file or directory
In file included from hwPortUtilOGL.c:40:
hwPortOGL.h:30: error: expected specifier-qualifier-list before ‘GLfloat'
hwPortOGL.h:36: error: expected specifier-qualifier-list before ‘GLfloat'
hwPortOGL.h:100: error: expected specifier-qualifier-list before ‘GLXContext'
hwPortUtilOGL.c:54:20: error: GL/glu.h: No such file or directory
hwPortUtilOGL.c:70: error: expected ‘=', ‘,', ‘;', ‘asm' or ‘__attribute__' before ‘screen_door_50'
hwPortUtilOGL.c: In function ‘dots':
hwPortUtilOGL.c:554: error: ‘GL_FALSE' undeclared (first use in this function)
hwPortUtilOGL.c:554: error: (Each undeclared identifier is reported only once
hwPortUtilOGL.c:554: error: for each function it appears in.)
hwPortUtilOGL.c:554: error: ‘GL_TRUE' undeclared (first use in this function)
hwPortUtilOGL.c:554: error: ‘GL_LIGHTING' undeclared (first use in this function)


and the errors continue from there.

I do have the glx.h file.

What am I doing wrong?

Thanks for any help.

---------- Post updated at 04:06 PM ---------- Previous update was at 03:45 PM ----------

ls /usr/X11R6/include/GL
amesa.h glfbdev.h glxext.h mglmesa.h xmesa.h
dmesa.h glu.h glxint.h osmesa.h xmesa_x.h
fxmesa.h glu_mangle.h glxmd.h svgamesa.h xmesa_xf86.h
ggimesa.h glut.h glxproto.h uglglutshapes.h
gl.h glutf90.h glxtokens.h uglmesa.h
gl_mangle.h glx.h internal vms_x_fix.h
glext.h glx_mangle.h mesa_wgl.h wmesa.h


This shows that I have the file correct?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

grep to find content in between curly braces, "{" and "},"

problem String ~~~~~~~~~~~~~~~~~~ icecream= { smart peopleLink "good" LC "happy" , smartpeopleLink "dull" LC "sad" } aend = {smart vc4 eatr kalu} output needed ~~~~~~~~~~~~~~~~~~ smart peopleLink "good" LC "happy" , smartpeopleLink "dull" LC "sad" smart vc4... (4 Replies)
Discussion started by: keshav_rk
4 Replies

2. Shell Programming and Scripting

"find command" to find the files in the current directories but not in the "subdir"

Dear friends, please tell me how to find the files which are existing in the current directory, but it sholud not search in the sub directories.. it is like this, current directory contains file1, file2, file3, dir1, dir2 and dir1 conatins file4, file5 and dir2 contains file6,... (9 Replies)
Discussion started by: swamymns
9 Replies

3. UNIX and Linux Applications

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or question of my own) is: Oracle tns listener, "CT_LISTENER", and the enterprise manager (EM) of the instance, which is uniq instance and called... (0 Replies)
Discussion started by: talipk
0 Replies

4. UNIX for Advanced & Expert Users

A question/problem about oracle "tns listener" and "enterprise manager"

hi, I have a problem about the Oracle related components. I'm not able to find any answer yet, and waiting for your responses... Here is the configuration of my system: * an IBM P550 machine, * an AIX 5.3 running on it and * an oracle database, already installed on it. The problem (or... (1 Reply)
Discussion started by: talipk
1 Replies

5. UNIX for Dummies Questions & Answers

how to install "source" command!/ broken "login.cl"!

Hello, I am new to this forums and this is my first "asking help" message! i have 2 problems: 1- for unknown reasons the "source" command is not avalable in my system (UBUNTU). i can't either see it in my bin directory! 2- again for unknown reasons the "login.cl" file in the home... (0 Replies)
Discussion started by: astrosona
0 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Shell Programming and Scripting

Problem with "find" and "grep" command

I want to list all files/lines which except those which contain the pattern ' /proc/' OR ' /sys/' (mind the leading blank). In a first approach I coded: find / -exec ls -ld {} | grep -v ' /proc/| /sys/' \; > /tmp/list.txt But this doesn't work. I got an error (under Ubuntu): grep:... (5 Replies)
Discussion started by: pstein
5 Replies

8. Shell Programming and Scripting

Using sed to find text between a "string " and character ","

Hello everyone Sorry I have to add another sed question. I am searching a log file and need only the first 2 occurances of text which comes after (note the space) "string " and before a ",". I have tried sed -n 's/.*string \(*\),.*/\1/p' filewith some, but limited success. This gives out all... (10 Replies)
Discussion started by: haggismn
10 Replies

9. Shell Programming and Scripting

Find lines with "A" then change "E" to "X" same line

I have a bunch of random character lines like ABCEDFG. I want to find all lines with "A" and then change any "E" to "X" in the same line. ALL lines with "A" will have an "X" somewhere in it. I have tried sed awk and vi editor. I get close, not quite there. I know someone has already solved this... (10 Replies)
Discussion started by: nightwatchrenba
10 Replies

10. Shell Programming and Scripting

find . -path "*_nobackup*" -prune -iname "*.PDF" \( ! -name "*_nobackup.*" \)

These three finds worked as expected: $ find . -iname "*.PDF" $ find . -iname "*.PDF" \( ! -name "*_nobackup.*" \) $ find . -path "*_nobackup*" -prune -iname "*.PDF" They all returned the match: ./folder/file.pdf :b: This find returned no matches: $ find . -path "*_nobackup*" -prune... (3 Replies)
Discussion started by: wolfv
3 Replies
libgtk-x11-2.0.3(3)					 Introduction to Library Functions				       libgtk-x11-2.0.3(3)

NAME
libgtk-x11-2.0 - Gimp Toolkit and Default GNOME Toolkit DESCRIPTION
GTK+ is the Gimp Toolkit and the default GNOME Toolkit for the X11 windowing system. It is a library for creating graphical user inter- faces. GTK+ uses an object-based component hierarchy. To access the API documentation, you must install the developer version of the package. FILES
The following files are used by this application: /usr/liblibgtk-x11-2.0.sGimp Toolkit shared library /usr/share/gtk-doc/html Location of developer documentation ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-base-libs SUNWg- | | |nome-base-libs-64 | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
gtk-query-immodules-2.0(1), libgdk-x11-2.0(3), libgdk_pixbuf-2.0(3), libglib-2.0(3), libgobject(3), libpango-1.0(3), X11(5) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2004. SunOS 5.10 31 Aug 2004 libgtk-x11-2.0.3(3)
All times are GMT -4. The time now is 01:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy