View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023697 | Community | OCCT:Coding | public | 2013-01-11 15:12 | 2014-01-08 15:39 |
Reporter | sjjamsa | Assigned To | bugmaster | ||
Priority | high | Severity | major | ||
Status | closed | Resolution | no change required | ||
OS | Linux, Ubuntu | ||||
Product Version | 6.5.4 | ||||
Target Version | 6.6.0 | Fixed in Version | 6.6.0 | ||
Summary | 0023697: FTGL net detected due to wrong order of parameters in configure: checking for FTGLTextureFont in -lftgl... no | ||||
Description | Trying to build the OCCT on ubuntu 12.04.1 The ./configure script did not recognize the existence of ftgl library. The problem was, that the test had the source code parameter *after* the -lftgl, so the linker newer tried to find the FTGLTextureFont from libftgl. I fixed it by changing the order of the linker parameters: After: # Check for FTGL Libraries Change: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' into ac_link='$CXX -o conftest$ac_exeext conftest.$ac_ext $CXXFLAGS $CPPFLAGS $LDFLAGS $LIBS >&5' I don't know how this should be changed in the build_configure -script. Therefore no patch available. I found out the cause of problems by adding to the configure script the following new lines in the function ac_fn_cxx_try_link: (around the line (eval "$ac_link") 2>conftest.err ) echo echo :: echo :: ac_link ="$ac_link" echo :: echo :: "conftest.$ac_ext" cat conftest.$ac_ext echo :: echo :: ac_ext ="$ac_ext" echo :: CXX ="$CXX" echo :: CXXFLAGS ="$CXXFLAGS" echo :: CPPFLAGS ="$CPPFLAGS" echo :: LDFLAGS ="$LDFLAGS" echo :: LIBS ="$LIBS" echo :: echo :: conftest.err (eval "$ac_link") 2>conftest.err #<-- Was there already cat conftest.err echo :: | ||||
Steps To Reproduce | Try building the package on ubuntu 12.04.1 | ||||
Tags | No tags attached. | ||||
Test case number | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-01-11 15:12 | sjjamsa | New Issue | |
2013-01-11 15:12 | sjjamsa | Assigned To | => bugmaster |
2014-01-02 00:39 | barbier | Note Added: 0027369 | |
2014-01-03 18:11 |
|
Status | new => closed |
2014-01-03 18:11 |
|
Resolution | open => no change required |
2014-01-03 18:11 |
|
Fixed in Version | => 6.6.0 |
2014-01-08 15:39 |
|
Target Version | => 6.6.0 |
2014-01-11 11:58 |
|
Category | OCCT Release:BUILD => OCCT:Coding |