bugGNU Octave - Bugs: bug #44322, mxe-octave: compile error gl2ps...

 
 

bug #44322: mxe-octave: compile error gl2ps with --enable-64 --enable-native-build

Submitted by:  Ceral Paquet <octavebugs>
Submitted on:  Fri 20 Feb 2015 11:52:40 AM UTC  
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  3 - Low Item Group:  Build Failure
Status:  Wont Fix Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sat 21 Mar 2015 04:01:25 PM UTC, comment #14: 

I figured it might be possible to make mxe-octave do that, but I found it easier to write something that I understood to do the limited part that I need :)

https://hg.mtmxr.com/octave-64-bit-index-builder

Works for me, hopefully general enough to be useful to someone else.

Mike Miller <mtmiller>
Project Administrator
Sat 21 Mar 2015 02:54:08 PM UTC, comment #13: 

I think I missed that the original report was about building with --enable-64.

Mike, I think that it would be fairly easy to adapt mxe-octave do build just the dependencies that need special treatment for 64-bit indexing and get all the other depdendencies from the OS packages.  I've thought about doing that but just haven't had the time to work on it.

John W. Eaton <jwe>
Project Administrator
Sat 21 Mar 2015 03:51:19 AM UTC, comment #12: 

Can someone clarify whether this is a valid bug and a valid use case for mxe-octave --enable-native-build?

@Ceral, FYI I am working on a project separate from mxe-octave to do what I think you want. The goal is to be able to easily build Octave and all required Fortran libraries with 64-bit integer indexes, but defer to the OS for all other standard libraries that don't need to be recompiled.

Mike Miller <mtmiller>
Project Administrator
Sun 08 Mar 2015 01:52:07 AM UTC, comment #11: 

Is this still a problem?

I see this cset for MXE

changeset:   3834:291c610413cd
user:        John W. Eaton <jwe@octave.org>
date:        Wed Mar 04 17:25:01 2015 -0500
summary:     use autotools for building gl2ps on Linux systems

from 3/4/15.

Rik <rik5>
Project Administrator
Wed 04 Mar 2015 03:11:41 PM UTC, comment #10: 

If you are using Debian, then the mxe-octave build system is the wrong thing to use to get dependencies.

Just use apt-get build-deps octave instead and you'll get most dependencies for the current Octave sources all neatly packaged for your system.

The mxe-octave thing is really only intended for those systems that don't have the necessary dependencies already packaged.

John W. Eaton <jwe>
Project Administrator
Wed 04 Mar 2015 03:03:57 PM UTC, comment #9: 

I'm a little puzzled... I thought MXE was designed to get all the dependencies. I've been apt-get installing all kinds of things on my machine but the MXE build still fails.

I am using

./configure --enable-64 --enable-native-build --enable-pic-flag host_alias=gnu-linux --enable-openblas --enable-jit

I tried it once with

./configure --enable-64

and it successfully created an .exe file for Windows. I'm just wondering how to get it to do the same for Debian 8 :)

Ceral Paquet <octavebugs>
Thu 26 Feb 2015 05:16:11 PM UTC, comment #8: 

I think freeglut is a replacement for the glut library, and so still needs to have the opengl libraries

mesa would be sources to get working for GL, but are not part of mxe.

On my fedora system, I have packages for mesa-libGL-devel and freeglut-devel installed.

John Donoghue <lostbard>
Project Member
Thu 26 Feb 2015 03:51:20 PM UTC, comment #7: 

Thanks John. I looked up opengl and it seems to be provided by freeglut which is alread yin the src directory but not compiled.

make freeglut
Failed to build package freeglut!

So I looked in the log/freeglut and it says:

...
In file included from freeglut_callbacks.c:29:0:
freeglut_internal.h:112:39: fatal error: X11/extensions/XInput.h: No such file or directory
 #    include <X11/extensions/XInput.h>
                                       ^
compilation terminated.
...

Then I tried make x11.
make: Nothing to be done for 'x11'.

I'm not sure if this is user error. I'm just trying to get a vanilla 64 bit octave without doing the following (which I also struggled with!).

https://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html

Ceral Paquet <octavebugs>
Tue 24 Feb 2015 01:01:37 PM UTC, comment #6: 

Looking at the cmake file for gl2ps, if it doesn't detect opengl (which according to the log below, it isn't), then it does not create a gl2ps libraries, and so will just install the .h files and uncompiled example programs.

John Donoghue <lostbard>
Project Member
Tue 24 Feb 2015 11:29:03 AM UTC, comment #5: 

Please see below.

==================================

find . -name "*gl2ps*"

./tmp-stable-octave/octave-3.8.2/libinterp/corefcn/gl2ps-renderer.h
./tmp-stable-octave/octave-3.8.2/libinterp/corefcn/gl2ps-renderer.cc
./tmp-stable-octave/octave-3.8.2/.build/libinterp/corefcn/corefcn_libcorefcn_la-gl2ps-renderer.lo
./tmp-stable-octave/octave-3.8.2/.build/libinterp/corefcn/.deps/corefcn_libcorefcn_la-gl2ps-renderer.Plo
./tmp-stable-octave/octave-3.8.2/.build/libinterp/corefcn/.libs/corefcn_libcorefcn_la-gl2ps-renderer.o
./log/gl2ps
./log/20150223_122237/gl2ps
./log/20150223_122237/.gl2ps.swp
./pkg/gl2ps-1.3.8.tgz
./usr/include/gl2ps.h
./usr/share/doc/gl2ps
./usr/share/doc/gl2ps/gl2psTest.c
./usr/share/doc/gl2ps/gl2psTestSimple.c
./usr/home/mxe-octave-4db51bcd2fa6/usr/include/gl2ps.h
./usr/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps
./usr/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/gl2psTest.c
./usr/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/gl2psTestSimple.c
./src/gl2ps.mk
./src/gl2ps-1-fixes.patch
./src/msvc-gl2ps-1.patch
./installed-packages/gl2ps
./installed-packages/gl2ps.pkg
./installed-packages/gl2ps.files

==================================

more log/gl2ps

make[1]: Entering directory '/home/mxe-octave-4db51bcd2fa6'
rm -rf   '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps' '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install'
mkdir -p '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps'
( cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps' && tar xzf '/home/mxe-octave-4db51bcd2fa6/pkg/gl2ps-1.3.8.tgz' ) ||  false
test ! -d '/home/mxe-octave-4db51bcd2fa6/src/gl2ps' || cp -a '/home/mxe-octave-4db51bcd2fa6/src/gl2ps' '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps'
cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
(cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source' && patch -p1 -u) < /home/mxe-octave-4db51bcd2fa6/src/gl2ps-1-fixes.patch
patching file CMakeLists.txt
cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source' && cmake -DCMAKE_AR='ar' -DCMAKE_RANLIB='ranlib'  -DCMAKE_TOOLCHAIN_FILE='/home/mxe-octave-4db51bcd2fa6/usr/share/cmake/mxe-conf.cmake' .
-- The C compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR)
-- Could NOT find GLUT (missing:  GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
-- Found ZLIB: /home/mxe-octave-4db51bcd2fa6/usr/lib/libz.so (found version "1.2.8")
-- Found PNG: /home/mxe-octave-4db51bcd2fa6/usr/lib/libpng.so (found version "1.6.16")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source
make -C '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source' -j '1' VERBOSE=1
make[2]: Entering directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
/home/mxe-octave-4db51bcd2fa6/usr/bin/cmake -H/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source -B/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source --check-build-system CMakeFiles/Makefile.cmake 0
/home/mxe-octave-4db51bcd2fa6/usr/bin/cmake -E cmake_progress_start /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
/home/mxe-octave-4db51bcd2fa6/usr/bin/cmake -E cmake_progress_start /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles 0
make[2]: Leaving directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
# native mingw build doesnt want to install the files, even
# though it logs that it did
if [ x = xyes ]; then install -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/lib'; install -m644 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/libgl2ps.a' '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/lib'; install -m644 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/libgl2ps.dll.a' '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/lib'; install -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/bin'; install -m644 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/libgl2ps.dll' '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/bin'; install -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/include'; install -m644 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.h' '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/include'; else make -C '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source' -j 1 VERBOSE=1 DESTDIR='/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' install; if [ gnu-linux = mingw ]; then echo "Install dll"; install -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/bin'; install '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/lib/libgl2ps.dll' '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/bin/'; rm -f '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/lib/libgl2ps.dll'; fi; fi
make[2]: Entering directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
/home/mxe-octave-4db51bcd2fa6/usr/bin/cmake -H/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source -B/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source --check-build-system CMakeFiles/Makefile.cmake 0
/home/mxe-octave-4db51bcd2fa6/usr/bin/cmake -E cmake_progress_start /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
/home/mxe-octave-4db51bcd2fa6/usr/bin/cmake -E cmake_progress_start /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles 0
make -f CMakeFiles/Makefile2 preinstall
make[3]: Entering directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
make[3]: Nothing to be done for 'preinstall'.
make[3]: Leaving directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
Install the project...
/home/mxe-octave-4db51bcd2fa6/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/include/gl2ps.h
-- Installing: /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/README.txt
-- Installing: /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/COPYING.LGPL
-- Installing: /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/COPYING.GL2PS
-- Installing: /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/gl2psTest.c
-- Installing: /home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/gl2psTestSimple.c
make[2]: Leaving directory '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source'
if [ -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' ]; then     [ -d '/home/mxe-octave-4db51bcd2fa6/installed-packages' ] || mkdir -p '/home/mxe-octave-4db51bcd2fa6/installed-packages'; echo -n > '/home/mxe-octave-4db51bcd2fa6/installed-packages/gl2ps.files'; echo -n > '/home/mxe-octave-4db51bcd2fa6/installed-packages/gl2ps.pkg'; if [ -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr' ]; then (cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr' && find . -mindepth 1 -printf '%M %P\n') >> '/home/mxe-octave-4db51bcd2fa6/installed-packages/gl2ps.files'; fi; if [ "/home/mxe-octave-4db51bcd2fa6/usr" != "" ] && [ -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' ]; then (cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' && find . -mindepth 1 -printf '%M %P\n') >> '/home/mxe-octave-4db51bcd2fa6/installed-packages/gl2ps.files'; fi; if [ -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr' ]; then (cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr' && find . -mindepth 1 -printf '%M %P\n') >> '/home/mxe-octave-4db51bcd2fa6/installed-packages/gl2ps.pkg'; fi; if [ "/home/mxe-octave-4db51bcd2fa6/usr" != "" ] && [ -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' ]; then (cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' && find . -mindepth 1 -printf '%M %P\n') >> '/home/mxe-octave-4db51bcd2fa6/installed-packages/gl2ps.pkg'; fi;     if [ -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr' ]; then (cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr' && tar c .) | (cd '/home/mxe-octave-4db51bcd2fa6/usr' && tar x -p); fi; if [ "/home/mxe-octave-4db51bcd2fa6/usr" != "" ] && [ -d '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' ]; then (cd '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' && tar c .) | (cd '/home/mxe-octave-4db51bcd2fa6/usr' && tar x -p); fi; (du -k -d 0 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install' 2>/dev/null || du -k --max-depth 0 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install') | sed -n 's/^\(\S*\).*/du: \1 KiB/p'; rm -rfv  '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install'; fi
du: 100 KiB
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/include/gl2ps.h’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/include’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/COPYING.GL2PS’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/gl2psTest.c’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/COPYING.LGPL’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/gl2psTestSimple.c’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps/README.txt’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc/gl2ps’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share/doc’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr/share’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6/usr’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home/mxe-octave-4db51bcd2fa6’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install/home’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps-install’
(du -k -d 0 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps' 2>/dev/null || du -k --max-depth 0 '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps') | sed -n 's/^\(\S*\).*/du: \1 KiB/p'
du: 724 KiB
[ '' = '1' ] || rm -rfv  '/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps'
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/TODO.txt’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/COPYING.GL2PS’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeCache.txt’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/Makefile’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeLists.txt’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/TargetDirectories.txt’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/Makefile2’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/feature_tests.bin’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/CMakeDirectoryInformation.cmake’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/CMakeTmp’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/cmake.check_cache’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/CMakeOutput.log’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/progress.marks’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/Makefile.cmake’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/feature_tests.c’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/3.1.3/CompilerIdC/CMakeCCompilerId.c’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/3.1.3/CompilerIdC/a.out’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/3.1.3/CompilerIdC’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/3.1.3/CMakeDetermineCompilerABI_C.bin’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/3.1.3/CMakeSystem.cmake’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/3.1.3/CMakeCCompiler.cmake’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles/3.1.3’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CMakeFiles’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.h’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/gl2psTest.c’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.tex’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CPackSourceConfig.cmake’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/CPackConfig.cmake’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/install_manifest.txt’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/COPYING.LGPL’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.c’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/gl2psTestSimple.c’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/cmake_install.cmake’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/gl2ps.pdf’
removed ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source/README.txt’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps/gl2ps-1.3.8-source’
removed directory: ‘/home/mxe-octave-4db51bcd2fa6/tmp-gl2ps’
[ -d '/home/mxe-octave-4db51bcd2fa6/installed-packages' ] || mkdir -p '/home/mxe-octave-4db51bcd2fa6/installed-packages'
echo 1.3.8 > '/home/mxe-octave-4db51bcd2fa6/installed-packages/gl2ps'
make[1]: Leaving directory '/home/mxe-octave-4db51bcd2fa6'

real 0m5.950s
user 0m4.052s
sys 0m0.624s

Ceral Paquet <octavebugs>
Sat 21 Feb 2015 01:22:26 PM UTC, comment #4: 

Can you attach the log for gl2ps?

John Donoghue <lostbard>
Project Member
Sat 21 Feb 2015 10:04:32 AM UTC, comment #3: 

try

find . -name "libgl2ps*"

Avinoam Kalma <avinoam>
Project Member
Sat 21 Feb 2015 09:49:21 AM UTC, comment #2: 

There's no sign of libgl2ps anywhere.

find . -name libgl2ps

gives no results.

Ceral Paquet <octavebugs>
Fri 20 Feb 2015 12:50:30 PM UTC, comment #1: 

Not sure if it will help, but try adding

--enable-lib64-directory

Also, can you verify from the log what paths libtool is using for truncated output.

And verify libgl2ps was installed and where.

John Donoghue <lostbard>
Project Member
Fri 20 Feb 2015 11:52:40 AM UTC, original submission:  

When compiling mxe-octave-4db51bcd2fa6, with

[code]
./configure --enable-64 --enable-native-build --enable-pic-flag host_alias=gnu-linux --enable-openblas --enable-jit

make
[/code]

I get the following error: Failed to build package stable-octave!
------------------------------------------------------------

In log/stable-octave there is more info.

[code]
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/c.... [trucated]
/usr/bin/ld: cannot find -lgl2ps
collect2: error: ld returned 1 exit status
Makefile:4380: recipe for target 'liboctinterp.la' failed
make[5]: *** [liboctinterp.la] Error 1
make[5]: Leaving directory '/home/ceral/mxe-octave-4db51bcd2fa6/tmp-stable-octave/octave-3.8.2/.build/libinterp'
Makefile:7824: recipe for target 'install' failed
make[4]: *** [install] Error 2
make[4]: Leaving directory '/home/ceral/mxe-octave-4db51bcd2fa6/tmp-stable-octave/octave-3.8.2/.build/libinterp'
Makefile:2117: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/home/ceral/mxe-octave-4db51bcd2fa6/tmp-stable-octave/octave-3.8.2/.build'
Makefile:2418: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home/ceral/mxe-octave-4db51bcd2fa6/tmp-stable-octave/octave-3.8.2/.build'
/home/ceral/mxe-octave-4db51bcd2fa6/Makefile:674: recipe for target 'build-only-stable-octave' failed
make[1]: *** [build-only-stable-octave] Error 2
make[1]: Leaving directory '/home/ceral/mxe-octave-4db51bcd2fa6'
[/code]

If I touch src/gl2ps.mk and make gl2ps there seems to be no problem:

[build]    gl2ps
[done]     gl2ps

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 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-22 mtmiller StatusNeed Info => Wont Fix
        Open/ClosedOpen => Closed
    2015-04-04 mtmiller Release3.8.2 => dev
        SummaryMXE compile error gl2ps => mxe-octave: compile error gl2ps with --enable-64 --enable-native-build
    2015-04-04 mtmiller Priority5 - Normal => 3 - Low
    2015-02-22 mtmiller CategoryNone => Configuration and Build System
        StatusNone => Need Info

    Back to the top


    Powered by Savane 3.5