Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 3994

Summary: app-text/openjade and include files
Product: Gentoo Linux Reporter: Peter Simons <simons>
Component: New packagesAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Simons 2002-06-21 14:11:43 UTC
Hi,

I just installed the openjade package and realized that the include files are
installed to /usr/include/sp/{generic,include,lib}. Are you sure that this is
the way it is meant to be? I know that per default openjade does not install any
include files at all, but opensp does, and it does it differently: All those
files go to OpenSP/ -- for example OpenSP/SGMLApplication.h, etc. There's no
further differentiation between the include files.

The current installation layout is problematic, because programs, that try to
compile with libosp and the appropriate include files, will not find them this
way. At least my own SGML parser front-end doesn't, which is why I write this
bug report. :-)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-28 07:00:50 UTC
r3 has fixed this.  Thanks for the catch
Comment 2 Peter Simons 2002-06-28 09:41:09 UTC
Sorry, but you misunderstood me. The -r3 version fixes the name of the include
directory ("OpenSP" instead of "sp"), but that's not the main problem ... The
problem is that this directory is supposed to be flat. You should be able to
include <OpenSP/SGMLApplication.h>, <OpenSP/config.h>, etc. The hierarchy of
"generic", "include", and "lib" within it is not supposed to be there in the
public install.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-28 10:01:17 UTC
I see what you mean.  -r4 fixes that.  Upstream needs to be more clear about
these things, in my opinion.