HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 1 and Version 2 of media-libs/qhull/2003.1/1


Ignore:
Timestamp:
02/07/09 23:17:07 (6 years ago)
Author:
scottmc
Comment:

initial build attempt

Legend:

Unmodified
Added
Removed
Modified
  • media-libs/qhull/2003.1/1

    v1 v2  
    1   
     1 Convert the src folder using dos2unix or similar utility.  Then copy [http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/qhull/Makefile.haiku Makefile.haiku] into src as Makefile, and run make. 
     2 
     3Fails: 
     4{{{ 
     5~/qhull-2003.1/src> make new 
     6rm -f *.o ../core qconvex qdelaunay qhalf qvoronoi qhull libqhull.a \ 
     7            *.exe 
     8rm -f *~ ../rbox ../qhull ../qhalf ../qconvex ../qdelaunay ../qhalf\ 
     9           ../qvoronoi ../user_eg ../user_eg2 ../*.exe >/dev/null 
     10gcc -c -O2 -ansi  rbox.c 
     11/boot/home/qhull-2003.1/src/rbox.c:39: warning: `PI' redefined 
     12/boot/develop/headers/posix/math.h:23: warning: this is the location of the previous definition 
     13gcc -o rbox rbox.o -O2 -ansi   
     14cp rbox .. 
     15gcc -c -O2 -ansi  qconvex.c 
     16gcc -c -O2 -ansi  user.c 
     17gcc -c -O2 -ansi  global.c 
     18gcc -c -O2 -ansi  stat.c 
     19gcc -c -O2 -ansi  io.c 
     20gcc -c -O2 -ansi  geom2.c 
     21gcc -c -O2 -ansi  poly2.c 
     22gcc -c -O2 -ansi  merge.c 
     23gcc -c -O2 -ansi  qhull.c 
     24gcc -c -O2 -ansi  geom.c 
     25gcc -c -O2 -ansi  poly.c 
     26gcc -c -O2 -ansi  qset.c 
     27gcc -c -O2 -ansi  mem.c 
     28if ar or ranlib fails, try make qhullx 
     29ar r libqhull.a user.o global.o stat.o io.o geom2.o poly2.o merge.o qhull.o geom.o poly.o qset.o mem.o 
     30ar: creating libqhull.a 
     31the next line may need to be removed. 
     32test -x ranlib -o -x ranlib && ranlib libqhull.a 
     33make: [libqhull.a] Error 1 (ignored) 
     34gcc -o qconvex -O2 -ansi  qconvex.o -L. -lqhull   
     35cp qconvex .. 
     36gcc -c -O2 -ansi  qdelaun.c 
     37gcc -o qdelaunay -O2 -ansi  qdelaun.o -L. -lqhull   
     38cp qdelaunay .. 
     39gcc -c -O2 -ansi  qhalf.c 
     40gcc -o qhalf -O2 -ansi  qhalf.o -L. -lqhull   
     41cp qhalf .. 
     42gcc -c -O2 -ansi  qvoronoi.c 
     43gcc -o qvoronoi -O2 -ansi  qvoronoi.o -L. -lqhull   
     44cp qvoronoi .. 
     45gcc -c -O2 -ansi  unix.c 
     46gcc -o qhull -O2 -ansi  unix.o -L. -lqhull   
     47cp qhull .. 
     48chmod +x ../eg/q_test ../eg/q_eg ../eg/q_egtest 
     49cd ..; ./rbox D4 | ./qhull 
     50 
     51This is the qhull test case.  If any errors or core dumps occur, 
     52recompile qhull with 'make new'.  If errors still occur, there is 
     53an incompatibility.  You should try a different compiler.  You can also 
     54change the choices in user.h.  If you discover the source of the problem, 
     55please send mail to qhull_bug@qhull.org. 
     56 
     57Type 'qhull' for a short list of options. 
     58qhull error: the joggle for 'QJn', 1.8e+308, is below roundoff for distance computations, inf 
     59 
     60While executing: ./rbox D4 | ./qhull 
     61Options selected for Qhull 2003.1 2003/12/30: 
     62  _pre-merge  _zero-centrum  _max-width inf  Error-roundoff inf  _one-merge nan 
     63  _near-inside nan 
     64make: [qhull] Error 1 (ignored) 
     65~/qhull-2003.1/src>  
     66}}} 
     67 
     68Probably related to Haiku ticket [http://dev.haiku-os.org/ticket/3308 3308]. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/