Building port (make install clean) fails with the following error(s): ************************************ cupsext.o -lcups -o build/lib.freebsd-6.1-STABLE-i386-2.4/cupsext.so Making all in prnt/hpijs cd . && /bin/sh /usr/ports/print/hplip/work/hplip-1.7.1/missing --run aclocal-1.9 aclocal-1.9: not found WARNING: `aclocal-1.9' is missing on your system. You should only need it if you modified `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /usr/ports/print/hplip/work/hplip-1.7.1/missing --run automake-1.9 --foreign automake-1.9: not found WARNING: `automake-1.9' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh /usr/ports/print/hplip/work/hplip-1.7.1/missing --run autoconf configure.in:14: error: Autoconf version 2.59 or higher is required configure.in:14: the top level *** Error code 1 ************************************ How-To-Repeat: cd /usr/ports/print/hplip make install clean
State Changed From-To: open->feedback Awaiting maintainers feedback
If you comment out the .if and .endif around the USE_AUTOTOOLS line, are the correct dependencies pulled in? Does it then build? -- Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/
Does installing autoconf 2.59 fix the build problem? -- Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/
I forgot to add that autoconf-2.59_2 and automake-1.9.6 are installed. I'll try your previous suggestion and report back. Thank you for responding! -RJ
I don't see USE_AUTOTOOLS in any file in print/hplip or print/hplip/work (and sub-directories). /usr/ports/bsd.autotools.mk references this per the porter's handbook, but only in a comment. Am I missing something? BTW, is there a typo in the port's Makefile? CONFLITS= vs CONFLICTS=
hppav# pkg_info | grep auto autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms autoconf-2.53_3 Automatically configure source code on many Un*x platforms autoconf-2.59_2 Automatically configure source code on many Un*x platforms automake-1.4.6_2 GNU Standards-compliant Makefile generator (1.4) automake-1.5_2,1 GNU Standards-compliant Makefile generator (version 1.5) automake-1.9.6 GNU Standards-compliant Makefile generator (1.9) gnu-autoconf-2.61 Automatically configure source code on many Un*x platforms gnu-automake-1.10 GNU Standards-compliant Makefile generator (GNU unmodified)
As a workaround, I used the symlink portion of this suggestion http://lists.freebsd.org/pipermail/freebsd-ports/2006-December/037872.html That fixed the "not found" errors previously reported. Then, I ran into another configure error in prnt/hpijs. One of the patches (patch-prnt_hpijs_configure) was not applying correctly causing the "dlopen not found" error. I applied the patch (using patch < /usr/ports/print/hplip/files/patch-prnt_hpijs_configure), then ran ./configure in prnt/hpijs. This completed without error. I returned to ports/hplip, ran "make install clean" and the port installed correctly. I followed all instructions in pkg-message and rebooted. The gui starts fine. Unfortunately, it appears from the pkg-message file (and try hp-setup) that HPLIP only supports on printers on ugen(4) and my printer is on lpt(4). Is this correct?
Is your system clock set correctly? This error is a typical symptom of system time in the past. -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> ... the obese drugged penguin used by Linux. -- Scott Long
Responsible Changed From-To: freebsd-ports-bugs->tmclaugh Grab
Is this port possibly being built on an NFS share? I just ran into a similar problem when building the port on my NFS mounted /home. I have aclocal-1.9 installed but it just ended up dying later in the build because of the autotools being rerun. I'm not sure how to correctly fix this yet though.
Is this still a problem with the latest version of the port? Also what about with ports/119552? -- Anish Mistry amistry@am-productions.biz AM Productions http://am-productions.biz/
It's still an issue after the latest update of the port. Still trying to figure out where these commands are even being run from.
Okay, some tiny patching to Makefile.in did the trick. See attached. -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org |
State Changed From-To: feedback->closed Path committed after receiving approval from manitainer in private email.
tmclaugh 2008-02-06 15:23:21 UTC FreeBSD ports repository Modified files: print/hplip/files patch-Makefile.in Log: - Fix build where under some circumstances the GNU autools woule be called to regenerate files and break build. Found most commonly when WRKSRC is on an NFS share. PR: 108537 Approved by: maintainer Revision Changes Path 1.7 +26 -8 ports/print/hplip/files/patch-Makefile.in _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"