inlining of math breaks cpp4 mmdb_apps

Bug #803510 reported by Justin on 2011-06-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mmdb
Undecided
Morten Kjeldgaard

Bug Description

The inlining of the math function when merging the changes from Paul Emsley breaks most apps in the mmdb_apps_ subdir of the ccp4 distribution.

On Gentoo we like to build a standalone version of libs e.g. mmdb and link all apps against them. Coot 0.6.2 needs >mmdb-1.23 which contains the inlined declarations. This breaks linking of the named ccp4 apps. Was this known? What is the workaround?

The ccp4 distributed version seems to do something via swig if I saw it correctly. Is there any chance that the standalone version and the ccp4-distrbution could come inline again?

justin

Morten Kjeldgaard (mok0) on 2011-11-03
Changed in mmdb:
assignee: nobody → Morten Kjeldgaard (mok0)
status: New → Triaged
Morten Kjeldgaard (mok0) wrote :

Can you be more specific? I can link the mmdb_app program ncont.cpp like this:

  g++ ncont.cpp -I/usr/include/mmdb -I/usr/include/gpp4/ccp4 -lmmdb -lgpp4

and the resulting binary seems to work.

(Incidentally Gentoo should be aware that CCP4 apps are imposed a non-free license.)

Changed in mmdb:
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers