bugGNU Octave - Bugs: bug #45328, MXE cannot build gl2ps

 
 

bug #45328: MXE cannot build gl2ps

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Mon 15 Jun 2015 10:48:35 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Feb 2016 11:22:39 PM UTC, comment #4: 

I'm not up on all the mxe details, but it reads to me like this can be closed as invalid, using mxe to build natively for Linux requires a local system install of OpenGL.

Mike Miller <mtmiller>
Group Member
Wed 17 Jun 2015 01:21:43 AM UTC, comment #3: 

Pushed mingw changes http://hg.octave.org/mxe-octave/rev/e1e6cb9b8b44

For mingw, I believe the gl headers are installed as part of mingw-w64.

John Donoghue <lostbard>
Group Member
Mon 15 Jun 2015 11:48:28 PM UTC, comment #2: 

On a related noted, gl2ps does reply on libpng and zlib but aren't specified as dependencies.

I am planning on pushing a change up for them when I push a native mingw build change, hopefully soon.

John Donoghue <lostbard>
Group Member
Mon 15 Jun 2015 11:29:17 PM UTC, comment #1: 

How did you configure mxe-octave?  Are you trying to do a native build for a Unixy system?  If so, we intentionally don't build OpenGL libraries.  You must have those installed on your system.

John W. Eaton <jwe>
Group administrator
Mon 15 Jun 2015 10:48:35 PM UTC, original submission:  

This is the log/gl2ps file.




make[1]: Entering directory `/home/mxe-octave-5ad15d20d11b'
rm -rf   '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps' '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps-install'
mkdir -p '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps'
( cd '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps' && tar xzf '/home/mxe-octave-5ad15d20d11b/pkg/gl2ps-1.3.8.tgz' ) ||  false
test ! -d '/home/mxe-octave-5ad15d20d11b/src/gl2ps' || cp -a '/home/mxe-octave-5ad15d20d11b/src/gl2ps' '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps'
cd '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source'
(cd '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source' && patch -p1 -u) < /home/mxe-octave-5ad15d20d11b/src/gl2ps-1-configure.patch
patching file aclocal.m4
patching file AUTHORS
patching file ChangeLog
patching file compile
patching file config.guess
patching file config.sub
patching file configure.ac
patching file COPYING
patching file depcomp
patching file INSTALL
patching file install-sh
patching file ltmain.sh
patching file Makefile.am
patching file missing
patching file NEWS
patching file README
(cd '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source' && patch -p1 -u) < /home/mxe-octave-5ad15d20d11b/src/gl2ps-1-fixes.patch
patching file CMakeLists.txt
mkdir '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/.build'
cd '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source' && autoreconf --force
main::scan_file() called too early to check prototype at /home/mxe-octave-5ad15d20d11b/usr/bin/aclocal line 643.
cd '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/.build' &&  '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/configure' CPPFLAGS='-I/home/mxe-octave-5ad15d20d11b/usr/include' LDFLAGS='-L/home/mxe-octave-5ad15d20d11b/usr/lib'  --prefix='' && true
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 3458764513820540925
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gzclearerr in -lz... yes
checking for png_write_info in -lpng... yes
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking OpenGL/glu.h usability... no
checking OpenGL/glu.h presence... no
checking for OpenGL/glu.h... no
checking for gluBeginCurve in -lGLU... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking for glEnable in -lGL... no
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
make -C '/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/.build' -j '1'
make[2]: Entering directory `/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/.build'
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"GL2PS\" -DPACKAGE_TARNAME=\"gl2ps\" -DPACKAGE_VERSION=\"1.3.8\" -DPACKAGE_STRING=\"GL2PS\ 1.3.8\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gl2ps\" -DVERSION=\"1.3.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DGL2PS_HAVE_ZLIB=1 -DGL2PS_HAVE_LIBPNG=1 -DHAVE_VSNPRINTF=1 -I. -I/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source   -I/home/mxe-octave-5ad15d20d11b/usr/include  -g -O2 -MT gl2ps.lo -MD -MP -MF .deps/gl2ps.Tpo -c -o gl2ps.lo /home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.c
libtool: compile:  gcc -DPACKAGE_NAME=\"GL2PS\" -DPACKAGE_TARNAME=\"gl2ps\" -DPACKAGE_VERSION=\"1.3.8\" "-DPACKAGE_STRING=\"GL2PS 1.3.8\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gl2ps\" -DVERSION=\"1.3.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DGL2PS_HAVE_ZLIB=1 -DGL2PS_HAVE_LIBPNG=1 -DHAVE_VSNPRINTF=1 -I. -I/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source -I/home/mxe-octave-5ad15d20d11b/usr/include -g -O2 -MT gl2ps.lo -MD -MP -MF .deps/gl2ps.Tpo -c /home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.c  -fPIC -DPIC -o .libs/gl2ps.o
In file included from /home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.c:36:0:
/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.h:66:21: fatal error: GL/gl.h: No such file or directory
 #  include <GL/gl.h>
                     ^
compilation terminated.
make[2]: * [gl2ps.lo] Error 1
make[2]: Leaving directory `/home/mxe-octave-5ad15d20d11b/tmp-gl2ps/gl2ps-1.3.8-source/.build'
make[1]: * [build-only-gl2ps] Error 2
make[1]: Leaving directory `/home/mxe-octave-5ad15d20d11b'

real 0m12.910s
user 0m7.654s
sys 0m3.476s


Ceral Paquet <octavebugs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-01 rik5 StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2015-12-22 mtmiller CategoryNone Configuration and Build System
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code