Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2008 21:58:08 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>, acm@FreeBSD.org
Subject:   lang/fpc-utils, problem + solved
Message-ID:  <20080708215808.2611863f@ayiin>

next in thread | raw e-mail | index | archive | help
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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080708215808.2611863f>