Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Open Cascade compile problem [ science overlay]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 02, 2009 12:28 pm    Post subject: Open Cascade compile problem [ science overlay] Reply with quote

Hello,

When I want to compile opencascade I get this error log.
Code:

In function 'int open(const char*, int, ...)',
    inlined from 'WOKUnix_FDescr WOKUnix_FDescr::BuildNamedPipe()' at ../../../src/WOKUnix/WOKUnix_FDescr.cxx:205:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[3]: *** [WOKUnix_FDescr.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/sci-libs/opencascade-6.2-r1/work/opencascade-6.2/ros/adm/make/TKWOK'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sci-libs/opencascade-6.2-r1/work/opencascade-6.2/ros/adm/make'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-libs/opencascade-6.2-r1/work/opencascade-6.2/ros'
make: *** [all] Error 2
 *
 * ERROR: sci-libs/opencascade-6.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3565:  Called die
 * The specific snippet of code:
 *       emake || die "Compilation failed"
 *  The die message:
 *   Compilation failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-libs/opencascade-6.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/opencascade-6.2-r1/temp/environment'.
 * This ebuild is from an overlay named 'science': '/usr/local/portage/layman/science/'
 *

>>> Failed to emerge sci-libs/opencascade-6.2-r1, Log file:

>>>  '/var/tmp/portage/sci-libs/opencascade-6.2-r1/temp/build.log'

 * Messages for package dev-libs/glib-1.2.10-r5:

 * Appending a library link instruction (-ldl); libraries to link to should not be passed through LDFLAGS

 * Messages for package sci-libs/opencascade-6.2-r1:

 *
 *  It is important to note that OpenCascade is a very large package.
 *  Please note that building OpenCascade takes a lot of time and
 *  hardware ressources: 3.5-4 GB free diskspace and 256 MB RAM are
 *  the minimum requirements.
 *
 * You have gcc4 -> GCC 4.x patch is applied
 * Stdlib malloc patch is applied
 * Appending a library link instruction (-lpthread); libraries to link to should not be passed through LDFLAGS
 *
 * ERROR: sci-libs/opencascade-6.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3565:  Called die
 * The specific snippet of code:
 *       emake || die "Compilation failed"
 *  The die message:
 *   Compilation failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sci-libs/opencascade-6.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/opencascade-6.2-r1/temp/environment'.
 * This ebuild is from an overlay named 'science': '/usr/local/portage/layman/science/'


How can I solve this ?

Roelof
Back to top
View user's profile Send private message
roelof
Guru
Guru


Joined: 05 Feb 2009
Posts: 488

PostPosted: Mon Nov 02, 2009 1:54 pm    Post subject: Reply with quote

With Opencascade 6.3 I get this error message :

checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking siginfo.h usability... no
checking siginfo.h presence... no
checking for siginfo.h... no
checking bits/sigset.h usability... yes
checking bits/sigset.h presence... yes
checking for bits/sigset.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for sys/types.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking X11/extensions/transovl.h usability... no
checking X11/extensions/transovl.h presence... no
checking for X11/extensions/transovl.h... no
checking X11/extensions/readdisplay.h usability... no
checking X11/extensions/readdisplay.h presence... no
checking for X11/extensions/readdisplay.h... no
checking X11/extensions/multibuf.h usability... no
checking X11/extensions/multibuf.h presence... yes
configure: WARNING: X11/extensions/multibuf.h: present but cannot be compiled
configure: WARNING: X11/extensions/multibuf.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/multibuf.h: see the Autoconf documentation
configure: WARNING: X11/extensions/multibuf.h: section "Present But Cannot Be Compiled"
configure: WARNING: X11/extensions/multibuf.h: proceeding with the preprocessor's result
configure: WARNING: X11/extensions/multibuf.h: in the future, the compiler will take precedence
checking for X11/extensions/multibuf.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking for X11/extensions/multibuf.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for sys/mman.h... (cached) yes
checking for libc.h... (cached) no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking tk.h usability... yes
checking tk.h presence... yes
checking for tk.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for gethostname... yes
checking for putenv... yes
checking for re_comp... yes
checking for regcomp... yes
checking for strcspn... yes
checking for strdup... yes
checking for strtol... yes
checking for statfs... yes
checking for statvfs... yes
checking if it is OK to define stream input and output... no
checking if class ostream has member function form... no
checking if union semun is defined in <sys/sem.h>... no
checking if function semop takes a value... no
checking if function semctl takes a value... no
checking for mallinfo in -lmalloc... no
checking for ieee_handler in -lsunmath... no
checking for finite in -lm... yes
checking for jni_md.h in /opt/sun-jdk-1.6.0.15/include/linux... checking jni.h usability... no
checking jni.h presence... no
checking for jni.h... no
configure: "Specify --with-java-include=<DIR> to enalbe Java support"
configure: error: working jni.h not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sci-libs/opencascade-6.3-r1/work/OpenCASCADE6.3.0/ros/config.log
*
* ERROR: sci-libs/opencascade-6.3-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3566: Called econf '--prefix=/opt/opencascade-6.3/ros/lin' '--exec-prefix=/opt/opencascade-6.3/ros/lin' '--with-tcl=/usr/lib' '--with-tk=/usr/lib' '--with-dps-include=/usr/include' '--with-dps-library=/usr/lib' '--with-xmu-include=/usr/include' '--with-xmu-library=/usr/lib' '--with-gl-include=/usr/include' '--with-gl-library=/usr/lib' '--with-java-include=/opt/sun-jdk-1.6.0.15/include/linux' '--with-x' '--disable-debug' '--enable-production'
* ebuild.sh, line 534: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sci-libs/opencascade-6.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sci-libs/opencascade-6.3-r1/temp/environment'.
* This ebuild is from an overlay named 'science': '/usr/local/portage/layman/science/'
*

>>> Failed to emerge sci-libs/opencascade-6.3-r1, Log file:

>>> '/var/tmp/portage/sci-libs/opencascade-6.3-r1/temp/build.log'

* Messages for package sci-libs/opencascade-6.3-r1:

*
* It is important to note that OpenCascade is a very large package.
* Please note that building OpenCascade takes a lot of time and
* hardware ressources: 3.5-4 GB free diskspace and 256 MB RAM are
* the minimum requirements.
*
* Appending a library link instruction (-lpthread); libraries to link to should not be passed through LDFLAGS
*
* ERROR: sci-libs/opencascade-6.3-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3566: Called econf '--prefix=/opt/opencascade-6.3/ros/lin' '--exec-prefix=/opt/opencascade-6.3/ros/lin' '--with-tcl=/usr/lib' '--with-tk=/usr/lib' '--with-dps-include=/usr/include' '--with-dps-library=/usr/lib' '--with-xmu-include=/usr/include' '--with-xmu-library=/usr/lib' '--with-gl-include=/usr/include' '--with-gl-library=/usr/lib' '--with-java-include=/opt/sun-jdk-1.6.0.15/include/linux' '--with-x' '--disable-debug' '--enable-production'
* ebuild.sh, line 534: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed

Roelof
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum