lang/fpc-utils, problem + solved
Norberto Meijome
freebsd at meijome.net
Tue Jul 8 11:58:13 UTC 2008
Hi there,
I've been having problems upgrading fpc-utils to its latest incarnation.
The error i was getting was not during build, but at install (either make reinstall or make package), with the following error:
[...]
gmake[1]: Leaving directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/h2pas'
gmake -C fprcp all
gmake[1]: Entering directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fprcp'
gmake[1]: Leaving directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fprcp'
gmake -C dxegen all
gmake[1]: Entering directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/dxegen'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/dxegen'
gmake -C fpdoc all
gmake[1]: Entering directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fpdoc'
gmake[1]: Leaving directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fpdoc'
gmake -C fpcres all
gmake[1]: Entering directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fpcres'
gmake[1]: Leaving directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fpcres'
/usr/local/bin/ginstall -m 755 -d /usr/local/bin
/usr/local/bin/ginstall -c -m 755 ppdep ptop rstconv data2inc delp bin2obj postw32 rmcvsdir /usr/local/bin
gmake -C fppkg install
gmake[1]: Entering directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fppkg'
/usr/local/bin/ginstall -m 755 -d /usr/local/bin
/usr/local/bin/ginstall -c -m 755 fppkg /usr/local/bin
/usr/local/bin/fpcmake -p -Ti386-freebsd Makefile.fpc
gmake[1]: /usr/local/bin/fpcmake: Command not found
gmake[1]: *** [fpc_install] Error 127
gmake[1]: Leaving directory `/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fppkg'
gmake: *** [fppkg_install] Error 2
*** Error code 2
Stop in /usr/ports/lang/fpc-utils.
*** Error code 1
Stop in /usr/ports/lang/fpc-utils
============================================
How I fixed it :
1) build fpcmake by hand:
[betom at ayiin] [Tue Jul 8 18:54:30 2008]
/usr/ports/lang/fpc-utils/work/fpc-2.2.0/utils/fpcm
$ sudo gmake
[....]
2) install fpcmake by hand BEFORE installing the package
sudo cp fpcmake /usr/local/bin/fpcmake
I hope this can be added to the port's install procedure itself.
cheers!!
B
_________________________
{Beto|Norberto|Numard} Meijome
Hildebrant's Principle:
If you don't know where you are going,
any road will get you there.
I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.
More information about the freebsd-ports
mailing list