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
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
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
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
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
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
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
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
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
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
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
PSC(1) General Commands Manual PSC(1)
NAME
psc - prepare sc files
SYNOPSIS
psc [-fLkrSPv] [-s cell] [-R n] [-C n] [-n n] [-d c]
DESCRIPTION
Psc is used to prepare data for input to the spreadsheet calculator sc(1). It accepts normal ascii data on standard input. Standard out-
put is a sc file. With no options, psc starts the spreadsheet in cell A0. Strings are right justified. All data on a line is entered on
the same row; new input lines cause the output row number to increment by one. The default delimiters are tab and space. The column for-
mats are set to one larger than the number of columns required to hold the largest value in the column.
OPTIONS
-f Omit column width calculations. This option is for preparing data to be merged with an existing spreadsheet. If the option is not
specified, the column widths calculated for the data read by psc will override those already set in the existing spreadsheet.
-L Left justify strings.
-k Keep all delimiters. This option causes the output cell to change on each new delimiter encountered in the input stream. The
default action is to condense multiple delimiters to one, so that the cell only changes once per input data item.
-r Output the data by row first then column. For input consisting of a single column, this option will result in output of one row
with multiple columns instead of a single column spreadsheet.
-s cell
Start the top left corner of the spreadsheet in cell. For example, -s B33 will arrange the output data so that the spreadsheet
starts in column B, row 33.
-R n Increment by n on each new output row.
-C n Increment by n on each new output column.
-n n Output n rows before advancing to the next column. This option is used when the input is arranged in a single column and the
spreadsheet is to have multiple columns, each of which is to be length n.
-d c Use the single character c as the delimiter between input fields.
-P Plain numbers only. A field is a number only when there is no imbedded [-+eE].
-S All numbers are strings.
-v Print the version of psc
SEE ALSO
sc(1)
AUTHOR
Robert Bond
PSC 7.16 19 September 2002 PSC(1)