octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems configuring with qhull 2011.1


From: Ben Abbott
Subject: Problems configuring with qhull 2011.1
Date: Mon, 29 Aug 2011 19:43:50 -0400

I updated by qhull port (macports lingo for "package") today to 2011.1 and 
discovered that Octave's configure script does not find qhull. If I revert to 
qhull 2010.1 then configure is able to find qhull.

My prefix is /opt/local and have the qhull-2011.1 libraries and include files 
located as shown below.

$ ls -lG /opt/local/lib/libqh*
-rwxr-xr-x  1 root  admin  371580 Aug 29 17:15 
/opt/local/lib/libqhull6.6.2.0.1385.dylib
lrwxr-xr-x  1 root  admin      26 Aug 29 17:15 /opt/local/lib/libqhull6.dylib 
-> libqhull6.6.2.0.1385.dylib
-rw-r--r--  1 root  admin  230224 Aug 29 17:15 /opt/local/lib/libqhullcpp.a
-rw-r--r--  1 root  admin  497352 Aug 29 17:15 /opt/local/lib/libqhullstatic.a
-rw-r--r--  1 root  admin  511416 Aug 29 17:15 /opt/local/lib/libqhullstatic_p.a

$ ls -lG /opt/local/include/libqh*
/opt/local/include/libqhull:
total 344
-rw-r--r--  1 root  admin   7193 Mar  7 20:52 geom.h
-rw-r--r--  1 root  admin   7926 Mar  7 20:52 io.h
-rw-r--r--  1 root  admin  49951 Apr 15 21:10 libqhull.h
-rw-r--r--  1 root  admin   8537 Mar 31 22:27 mem.h
-rw-r--r--  1 root  admin   7301 Mar  7 20:52 merge.h
-rw-r--r--  1 root  admin  10935 Mar  7 20:52 poly.h
-rw-r--r--  1 root  admin   4926 Mar  7 20:52 qhull_a.h
-rw-r--r--  1 root  admin  14704 Mar  7 20:52 qset.h
-rw-r--r--  1 root  admin    935 Mar  7 20:52 random.h
-rw-r--r--  1 root  admin  12690 Apr 15 21:31 stat.h
-rw-r--r--  1 root  admin  28023 Apr 15 21:23 user.h

/opt/local/include/libqhullcpp:
total 352
-rw-r--r--  1 root  admin  15543 May 14 10:38 Coordinates.h
-rw-r--r--  1 root  admin   6806 Mar 16 22:13 PointCoordinates.h
-rw-r--r--  1 root  admin   6391 Mar 25 23:48 Qhull.h
-rw-r--r--  1 root  admin   2366 Apr  2 10:21 QhullError.h
-rw-r--r--  1 root  admin   6857 Apr 17 13:59 QhullFacet.h
-rw-r--r--  1 root  admin   4082 Mar  7 20:52 QhullFacetList.h
-rw-r--r--  1 root  admin   3614 May 14 10:38 QhullFacetSet.h
-rw-r--r--  1 root  admin   6025 May 14 10:38 QhullHyperplane.h
-rw-r--r--  1 root  admin   7882 May 14 10:38 QhullIterator.h
-rw-r--r--  1 root  admin  11956 Mar  7 20:52 QhullLinkedList.h
-rw-r--r--  1 root  admin   6159 May 14 10:38 QhullPoint.h
-rw-r--r--  1 root  admin  12576 May 14 10:38 QhullPointSet.h
-rw-r--r--  1 root  admin  16146 Mar 16 22:11 QhullPoints.h
-rw-r--r--  1 root  admin   1314 May 14 10:38 QhullQh.h
-rw-r--r--  1 root  admin   4117 Mar 27 15:44 QhullRidge.h
-rw-r--r--  1 root  admin  11686 May 14 10:38 QhullSet.h
-rw-r--r--  1 root  admin    783 Mar  7 20:52 QhullSets.h
-rw-r--r--  1 root  admin   1308 May 14 10:38 QhullStat.h
-rw-r--r--  1 root  admin   3862 May 14 10:38 QhullVertex.h
-rw-r--r--  1 root  admin   3269 May 14 10:38 QhullVertexSet.h
-rw-r--r--  1 root  admin   2109 May 14 10:38 RboxPoints.h
-rw-r--r--  1 root  admin   6172 May 14 10:38 UsingLibQhull.h
-rw-r--r--  1 root  admin   1516 Mar  7 20:52 functionObjects.h

For 2010.1, I had ...

$ ls -lG /opt/local/lib/libqhull*
-rwxr-xr-x  1 root  admin  359200 Aug 16 21:54 
/opt/local/lib/libqhull.5.0.0.dylib
lrwxr-xr-x  1 root  admin      20 Aug 16 21:54 /opt/local/lib/libqhull.5.dylib 
-> libqhull.5.0.0.dylib
-rw-r--r--  1 root  admin  497216 Aug 16 21:54 /opt/local/lib/libqhull.a
lrwxr-xr-x  1 root  admin      16 Aug 16 21:54 /opt/local/lib/libqhull.dylib -> 
libqhull.5.dylib

$ ls -lG /opt/local/include/qhull/
total 352
-rw-r--r--  1 root  admin   7192 Jan  7  2010 geom.h
-rw-r--r--  1 root  admin   7925 Jan  7  2010 io.h
-rw-r--r--  1 root  admin  49838 Jan  9  2010 libqhull.h
-rw-r--r--  1 root  admin   8541 Jan  7  2010 mem.h
-rw-r--r--  1 root  admin   7300 Jan  7  2010 merge.h
-rw-r--r--  1 root  admin  10934 Jan  7  2010 poly.h
-rw-r--r--  1 root  admin    450 Jan 14  2010 qhull.h
-rw-r--r--  1 root  admin   4925 Jan  7  2010 qhull_a.h
-rw-r--r--  1 root  admin  14703 Jan  7  2010 qset.h
-rw-r--r--  1 root  admin    934 Jan  7  2010 random.h
-rw-r--r--  1 root  admin  12584 Jan  7  2010 stat.h
-rw-r--r--  1 root  admin  27704 Jan 12  2010 user.h

For 2010.1 configure reports

  QHULL CPPFLAGS:              
  QHULL LDFLAGS:               -I/opt/local/include/libqhullcpp
  QHULL libraries:             -lqhull

and the config.log includes ...

configure:31400: checking qhull/qhull_a.h usability
configure:31400: /opt/local/bin/gcc-mp-4.4 -c -pipe -O2 -m64 -D_THREAD_SAFE 
-pthread -lstdc++ -D_THREAD_SAFE -pthread  -I/opt/local/include conftest.c >&5
configure:31400: $? = 0
configure:31400: result: yes

For 2011.1, configure fails to find qhull_a.h

configure:31400: checking qhull/qhull_a.h usability
configure:31400: /opt/local/bin/gcc-mp-4.4 -c -pipe -O2 -m64 -D_THREAD_SAFE 
-pthread -lstdc++ -D_THREAD_SAFE -pthread  -I/opt/local/include conftest.c >&5
conftest.c:487:27: error: qhull/qhull_a.h: No such file or directory

I tried experimenting with QHULL_CPPFLAGS, QHULL_LDFLAGS, and QHULL_LIBS, but 
didn't have any success.

I'm not familiar enough with autotools to trust my understanding. Am I doing 
something wrong or is the configure process not working properly?

Ben




reply via email to

[Prev in Thread] Current Thread [Next in Thread]