Opened 15 years ago
Closed 14 years ago
#22621 closed defect (fixed)
ncbi_tools does not build in parallel, fails on 10.6/64-bit
Reported by: | jashugan@… | Owned by: | mike.thon@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | snowleopard LP64 | Cc: | |
Port: | ncbi_tools |
Description
In Snow Leopard MacPorts is passing in the -j2 argument which breaks the build script, makedis.csh. Adding the following line to the Portfile for ncbi_tools fixes this problem:
use_parallel_build no
However there are some other upstream issues that still prevent the port from building.
- -Wno-long-double is now deprecated. Removing this argument from ncbi/platform/darwin.ncbi.mk and ncbi/platform/darwin-univ.ncbi.mk fixes this problem
- After that's fixed, there is another problem related to compiling vibutils.c. Basically it doesn't compile. Perhaps the header files have changed in /Developer/Headers/FlatCarbon?
I will report these last two points upstream; to the folks at NCBI.
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by jashugan@…
Cc: | jashugan@… added |
---|
comment:2 Changed 15 years ago by blb@…
Owner: | changed from macports-tickets@… to mike.thon@… |
---|
comment:3 follow-up: 4 Changed 15 years ago by jmroot (Joshua Root)
Cc: | jashugan@… removed |
---|---|
Summary: | ncbi_tools does not build in Snow Leopard → ncbi_tools does not build in parallel |
comment:4 Changed 15 years ago by jashugan@…
I talked to the upstream developers about this, and they gave me a patch along with this response:
Snow Leopard's default compiler (GCC 4.2) defaults to building 64-bit executables; however, the C Toolkit's Vibrant GUI framework uses the 32-bit only Carbon API. :-/ If you are only interested in the command-line applications, you can apply the attached patch to disable Vibrant on Mac OS X. If you want to build graphical applications and support libraries as well, your best bet is to build as if on a 10.5 system, with NCBI_CC = gcc-4.0 -isysroot /Developer/SDKs/MacOSX10.5.sdk I hope that helps, and am sorry you ran into trouble; we are working on addressing the compatibility issues for the next C Toolkit release. Meanwhile, I believe I've answered your question, so I've gone ahead and marked this ticket as resolved; however, please feel free to get back in touch if you have further questions or concerns. -- Aaron Ucko <ucko at ncbi>, NCBI C++ Toolkit core development group
Changed 15 years ago by jashugan@…
Attachment: | c-toolkit-no-carbon.patch added |
---|
Patch that disables graphics when building ncbi_tools. Only good if using the command line tools.
comment:5 Changed 15 years ago by florent.angly@…
Related ticket here: http://trac.macports.org/ticket/22916
comment:6 Changed 14 years ago by jmroot (Joshua Root)
Keywords: | snowleopard LP64 added |
---|---|
Summary: | ncbi_tools does not build in parallel → ncbi_tools does not build in parallel, fails on 10.6/64-bit |
comment:7 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Cc Me!