#3724 closed defect (fixed)
--with-opengl build problem on Slackware64 13.1
Reported by: | dmorissette | Owned by: | dmorissette |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | Build Problems | Version: | svn-trunk (development) |
Severity: | normal | Keywords: | |
Cc: | andy@… |
Description
Reported by Andy Colson on mapserver-users (using 6.0.0-beta1):
Having a problem compiling opengl support. Without opengl it compiles fine. Looks like its looking in /usr/lib, not /usr/lib64.
Slackware64 13.1.
./configure --with-ogr --with-gdal --with-agg --with-geos --with-postgis --with-xml2 --with-free-type --with-proj --with-tiff --with-jpeg --with-curl --with-gd --with-postgis=/usr/local/pgsq/bin/pg_config --with-opengl --with-ftgl ...lots of output... checking for gdImageCreatePaletteFromTrueColor in -lgd... yes using libgd 2.0.28 (or higher) from system libs (-L/usr/lib64 -lgd -ljpeg -lfreetype -lz -lpng -lz -lXpm -lX11 ). checking for gdImageCreate in -lgd... yes checking for gdImageGif in -lgd... yes checking for gdImagePng in -lgd... yes checking for gdImageJpeg in -lgd... yes checking for gdImageWBMP in -lgd... yes checking for gdImageStringFT in -lgd... yes checking for gdImageOpenPolygon in -lgd... yes checking for gdImageGifPtr in -lgd... yes checking for gdFontGetTiny in -lgd... yes checking for gdImageSetResolution in -l... no checking whether gdImageGetTrueColorPixel is declared... yes checking for gdImageGetTrueColorPixel in -lgd... yes using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL) from system libs. checking if FTGL support requested... looking for ftgl libs in /usr using ftgl from /usr checking if OGL support requested... looking for opengl libs in /usr ./configure: line 9891: -L/usr/lib64: No such file or directory configure: error: "could not find libGL or libGLU in /usr/lib/." config.log: configure:9774: checking if FTGL support requested configure:9785: result: looking for ftgl libs in /usr configure:9849: result: using ftgl from /usr configure:9873: checking if OGL support requested configure:9885: result: looking for opengl libs in /usr configure:9917: error: "could not find libGL or libGLU in /usr/lib/." ## ----------------- ## ## Output variables. ## ## ----------------- ## ALL_ENABLED='-DUSE_FTGL -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE ' ALL_INC='-I/usr/include/FTGL/ -I/usr/include -I/usr/include/freetype2 ' ALL_LIB='-L/usr/lib64 -lftgl -lgd -L/usr/lib64 -lgd -ljpeg -lfreetype -lz -lpng -lz -lXpm -lX11 -lc -lz -lfreetype -lz ' FTGL_ENABLED='-DUSE_FTGL ' FTGL_INC='-I/usr/include/FTGL/' FTGL_LIB='-L/usr/lib64 -lftgl'
Note:
See TracTickets
for help on using tickets.
I have fixed the configure script to look for OpenGL libs under /usr/lib64 as well in r11140.
I am not setup to test on that platform, so please test and reopen the ticket if that didn't fix the issue.