Opened 14 years ago

Closed 14 years ago

#25065 closed defect (fixed)

cgal gmpq symbol not found

Reported by: andy.terrel@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: cgal

Description

Hello,

I am running the following:

OS: 10.6.3 XCode: 3.2.2

When I try to build cgal I get errors with some gmpq symbols not being found, see below and debug output attached.

Any help is appreciated.

-- Andy

--->  Building cgal
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/work/CGAL-3.6" && /usr/bin/make -j4 " returned error 2
Command output:      
<snip>
  "___gmpq_set_si", referenced from:
      CORE::ExprRep::reduceToZero()     in all_files.o
      CORE::ExprRep::reduceToZero()     in all_files.o
      CORE::Realbase_for<long>::BigRatValue() constin all_files.o
      CORE::Realbase_for<CORE::BigRat>::ULV_E(CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&) constin all_files.o
  "___gmpq_set_z", referenced from:
      CORE::Realbase_for<CORE::BigInt>::BigRatValue() constin all_files.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Attachments (1)

cgal_debug.out (79.7 KB) - added by andy.terrel@… 14 years ago.
cgal install debug output

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by andy.terrel@…

Attachment: cgal_debug.out added

cgal install debug output

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to vince@…
Port: cgal added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 14 years ago by andy.terrel@…

I found the issue. Apparently here was a bad version of gmp sitting in /usr/local. Not sure what exactly installed it but nonetheless removing it fixed the issue.

comment:3 Changed 14 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Ok, I close the bug then. Sorry, for whatever unknown reason, I overlooked this "bug". Thanks for digging and finding the problem yourself.

Note: See TracTickets for help on using tickets.