Hi,
I have a clean FTP install of 2.9 (with all options, generic kernel) on
a P120/48 and I'm having endless trouble compiling ports in particular.
Starting from a completely clean ports tree (deleted entirely then cvs'd
a new one). Compiling MySQL fails (it goes and gets the correct latest
version successfully). PHP4 fails too. The errors are never very
informative.
The pth library used by MySQL needed to be compiled too, but the version
obtained through the ports tree failed to compile too (not a good sign).
When I contacted the maintainer about this, he sent me a copy of his
(which was supposedly the same version as from the ports tree) and that
compiled OK, but did not help MySQL. Here's an example error from
MySQL's make:
cc -DMAP_TO_USE_RAID -I./../include -I../include
-I/usr/local/include/pth -I/usr/include -DDBUG_OFF -O2 -c mi_dynrec.c
/tmp/cce27495.s: Assembler messages:
/tmp/cce27495.s:4086: Error: Local symbol L203 never defined.
/tmp/cce27495.s:4086: Error: Local symbol L231 never defined.
/tmp/cce27495.s:4086: Error: Local symbol L238 never defined.
/tmp/cce27495.s:4086: Fatal error:3 errors, 0 warnings, no object file
generated.
*** Error code 1
Stop in /usr/ports/databases/mysql/work/mysql-3.23.40/myisam.
*** Error code 1
Stop in /usr/ports/databases/mysql/work/mysql-3.23.40 (line 269 of
Makefile).
*** Error code 1
Stop in /usr/ports/databases/mysql/work/mysql-3.23.40 (line 397 of
Makefile).
*** Error code 1
Stop in /usr/ports/databases/mysql (line 1635 of
/usr/ports/infrastructure/mk/bsd.port.mk).
Any ideas about what's wrong? This particular error looks fairly deep
down - it's not giving me any indication of where the poblem might be
inside mi_dynrec.c. I haven't the faintest idea of how to go about
fixing this kind of problem.
So far the only port I have managed to compile successfully is moria!
Thanks