tiff: GL/gl.h: No such file or directory (was: Re: Install Lablgtk 2.10 using MacPorts)

Angela Zhu angela22.zhu at gmail.com
Sat Feb 16 18:47:55 PST 2008


On Feb 16, 2008 8:03 PM, Ryan Schmidt <ryandesign at macports.org> wrote:

> On Feb 16, 2008, at 08:33, AngelaZhu wrote:
>
> >> In file included from tiffgt.c:36:
> >> /opt/local/include/GLUT/glut.h:58:19: error: GL/gl.h: No such file or
> >> directory
> >> /opt/local/include/GLUT/glut.h:59:20: error: GL/glu.h: No such
> >> file or
> >> directory
> >
> > [snip]
> >
> > So tiff can't find the OpenGL headers. I do have /usr/X11R6/include/
> > GL/gl.h on my system. Do you? That would have been provided by either
> > X11User (part of Mac OS X) or X11SDK (part of Xcode). Do you have
> > both installed?
> >
> >
> > Yes, I do have /usr/X11R6/include/GL/gl.h on my system.
> > And I fixed this error by change the
> >  /opt/local/include/GLUT/glut.h:58:19 from
> > #include <GL/gl.h> to
> > #include </usr/X11R6/include/GL/gl.h>
>
> You should not have to modify any files by hand like this.


Actually after I change the mode of the file, I think I have successfully
upgraded "gdk-pixbuf". However when I install lablgtk2, I still get the
following error attached at the bottom of this email. I have no idea what is
the problem this time. Please help me, thanks a lot!


>
> What port provides /opt/local/include/GLUT/glut.h? I don't have this
> on my system. What do you get when you do this:
>
> port provides /opt/local/include/GLUT/glut.h


I did the following:
$ ls /usr/X11R6/include/GL/
GLwDrawA.h      GLwMDrawAP.h    glu.h           glxext.h        glxproto.h
GLwDrawAP.h     gl.h            glu.h2          glxint.h        glxtokens.h
GLwMDrawA.h     glext.h         glx.h           glxmd.h         osmesa.h

$ port provides /opt/local/include/GLUT/glut.h
/opt/local/include/GLUT/glut.h is not provided by a MacPorts port.


>
>
>
> > However, when I retried upgrade, I got:
> > /usr/X11R6/include/GL/glu.h:35:19: error: GL/gl.h: No such file or
> > directory
> > Now I cannot do the same thing to fix it because this folder
> > gives no permission for modifying or adding files.
> > What should I do?
>
> The include flags in the port must be wrong... should include $
> {x11prefix}... You may need to file a ticket for this problem.
>
>
>
------------------------------------------
checking for GNOME_TEST... configure: error: Package requirements (
gdk-pixbuf-2.0 >= 2.11.5) were not met:

Requested 'gdk-pixbuf-2.0 >= 2.11.5' but version of GdkPixbuf is 2.10.13

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOME_TEST_CFLAGS
and GNOME_TEST_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Error: The following dependencies failed to build: libgnomeui
Error: Status 1 encountered during processing.
------------------------------------------

-- 
Regards,
Angela Zhu
------------------------------------------
Dept. of CS, Rice University
http://www.cs.rice.edu/~yz2/
------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080216/1b96a8e8/attachment-0001.html 


More information about the macports-users mailing list