1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
|
Notes for source compilation
----------------------------
The build is a bit weird: you need to build and install
in one step using "make install". I opted to retain this,
so debian/rules "build" rule really does the install into
debian/tmp, and the "install" rule just does cleanup.
Use "make clobber" to clean up.
Manpages
--------
Inventor generates manpages from the sources; the tool
in doc/man/ivman uses some weird dynamic linking which
fails on a number of architectures.
Debugging this on paer (hppa) for release 2.1.5-10, a
segfault happens in function SoType::fromName(SbName),
in source file SoType.c++.
Bison Badness
-------------
Bison 1.875 emits code that GCC 3.2 doesn't like. Specifically, part
of the boilerplate (/usr/share/bison/yacc.c) contains the following.
/* Suppress GCC warning that yyerrlab1 is unused when no action
invokes YYERROR. */
#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
__attribute__ ((__unused__))
#endif
Earlier GCC didn't seem to mind, but GCC 3.2 complains:
y.tab.c: In function `int yyparse()':
y.tab.c:1143: parse error before `goto'
The fix is to either add a semicolon on the __attribute__ ((__unused__))
line. Or omit it entirely.
I chose to do the latter by using sed to change
#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
to
#if defined (__GNUC_MINOR__) && 12093 <= (__GNUC__ * 1000 + __GNUC_MINOR__)
in lib/database/src/so/engines/GNUmakefile
Build depends on tcsh
---------------------
The script doc/man/ivman/makeManDirs triggers a bug in /bin/csh; see
http://bugs.debian.org/106097.
Since the script works fine using tcsh, the workaround is to patch
script to use /usr/bin/tcsh, and thus we need to build-depend on tcsh.
"c102"
------
The package name changed due GCC 3.2 transition
(http://lists.debian.org/debian-devel-announce/2003/01/msg00002.html).
The instructions include this note:
You should not rename your package to remove the `c102' suffix
until upstream changes their soname.
font problems
-------------
* Missing fonts
Inventor falls back to the "Utopia-Regular" font face, if the requested
face is not found. This face is not available using xfonts-scalable,
so we link Utopia-Regular to Century-Schoolbook-Roman, which is.
See debian/link-fonts.sh.
Other Changes from upstream
---------------------------
* hardcoded paths replaced by CPP symbols, e.g. IVDEMOBINDIR
* lib/GNUmakefile
* libSoXt/GNUmakefile
- add major & minor numbers to shared obj name (LIBDSO)
* make/ivcommondefs
- add options to GLDDSOOPTS for creating shared lib
- set symbols defining the paths in LCXXDEFS
* make/ivcommonrules
- modify rules for making shared object
* miscellaneous small patches in debian/Patches
- endianness: sent upstream on 2002-02-19
* doc/ivman
- patches to make 'g++ -Wall' quiet
|