Ports php5.3 => doxygen compil fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Ports php5.3 => doxygen compil fails

vlotho
Bonjour,

Donc j'essaye d'installer php 5.3 à partir des ports d'OpenBSD 5.0 ( il n'est pas dans les packages. mon archi une sgi octane mips 12K ). Donc cela fais plus de 50h que l'installation s'effectue avec toute les dépendances inutile dont il a besoin et ce matin alors que je pensais que ma compil serait fini ou que mon disque serait saturé, et je suis tombé sur une erreur de compil :

[QUOTE]: relocation truncated to fit: R_MIPS_CALL16 operator new(unsigned long)
../lib/libdoxygen.a(language.o)(.text+0xf0): In function `setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_GOT_DISP vtable for TranslatorDutch
../lib/libdoxygen.a(language.o)(.text+0xfc): In function `setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_GOT_DISP theTranslator
../lib/libdoxygen.a(language.o)(.text+0x10c): In function `setTranslator(char const*)':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
gmake[2]: *** [../bin/doxygen] Error 1
gmake[2]: Leaving directory `/usr/ports/pobj/doxygen-1.7.2.src/doxygen-1.7.2/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/ports/pobj/doxygen-1.7.2.src/doxygen-1.7.2/src'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/doxygen (line 2494 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/doxygen (line 1699 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1[/QUOTE]

apparemment le problème serait résolu en faisant ca :

[QUOTE]update. I added --english-only to the configure args for doxygen and it compiled and installed just fine. I did attempt to adjust ulimits to insane values first with no change. Any ideas on a better fix?[/QUOTE]

vrais ?

mais ou mettre l'argument ?


il y a ca :

OUTPUT_LANGUAGE The OUTPUT_LANGUAGE tag is used to specify the language in which all documentation generated by doxygen is written. Doxygen will use this information to generate all constant output in the proper language. The default language is English, other supported languages are: Afrikaans, Arabic, Brazilian, Catalan, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, Korean, Lithuanian, Norwegian, Persian, Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, and Ukrainian.

à cette page : [url]www.stack.nl/~dimitri/doxygen/config.html[/url]

puis j'ai trouvé ca sur la page de doxygen :

GCC compiler problems

Older versions of the GNU compiler have problems with constant strings containing characters with character codes larger than 127. Therefore the compiler will fail to compile some of the translator_xx.h files. A workaround, if you are planning to use the English translation only, is to configure doxygen with the --english-only option.

On some platforms (such as OpenBSD) using some versions of gcc with -O2 can lead to eating all memory during the compilation of files such as config.cpp. As a workaround use --debug as a configure option or omit the -O2 for the particular files in the Makefile.

Gcc versions before 2.95 may produce broken binaries due to bugs in these compilers.


Bon même en rectifiant ca dans le Makefile de doxygen je retombe toujours sur l'erreur ... pourtant ca me paraissais clair ...

J'ai essayer de commenter le module pdo-dblib dans le Makefile.inc mais il essaye encore de compiler freetds => doxygen
a mon avis il faudrait tout re compiler pour virer dblib et ca ma pris déjà à peu prés 50h et j'ai franchement pas le goût de tous reprendre. J'aimerais régler ce problème autrement...