Date: Mon, 25 May 2009 12:24:42 +1000 From: Tom Mende <tmende@optusnet.com.au> To: Michael Butler <imb@protected-networks.net> Cc: freebsd-ports@freebsd.org Subject: Re: graphics/sane-backends compilation still broken Message-ID: <8DB8321B-8BC8-4421-87DE-084EDB122BD9@optusnet.com.au> In-Reply-To: <4A19F95C.80404@protected-networks.net> References: <4A199915.3060001@protected-networks.net> <F767A861-F5B8-40C9-A3D9-EC04EA38C560@optusnet.com.au> <4A19F95C.80404@protected-networks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 25/05/2009, at 11:50 AM, Michael Butler wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tom Mende wrote: >> On 25/05/2009, at 4:59 AM, Michael Butler wrote: >> >> As follows, with either portmaster or portupgrade: >> >> /bin/sh ../libtool --silent --tag=CC --mode=compile cc - >> DHAVE_CONFIG_H >> -I../include/sane -I. -I/usr/local/include -I. -I. -I../include >> -I../include -DLIBDIR="/usr/local/lib/sane" -DBACKEND_NAME=canon_dr >> -I/usr/local/include -D_REENTRANT >> -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d >> -DPATH_SANE_DATA_DIR=/usr/local/share >> -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 >> -DV_MINOR=0 -O2 -pipe -march=prescott -fno-strict-aliasing -W -Wall >> -MT >> libcanon_dr_la-canon_dr.lo -MD -MP -MF .deps/libcanon_dr_la- >> canon_dr.Tpo >> -c -o libcanon_dr_la-canon_dr.lo `test -f 'canon_dr.c' || echo >> './'`canon_dr.c >> canon_dr.c: In function 'sane_canon_dr_get_option_descriptor': > > [ .. ] > >> >> canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in >> this function) >> Exact same problem here at same place in the process! Raised a PR >> but... > > [ .. ] > >> Have now used both portsnap fetch extract and portsnap fetch update >> to >> no avail as the port fails in the same place each time. > >> Do I have to go back to using CVSup to update the ports tree? That >> would >> be going backwards in my view! > > The solution is to move the /usr/local/include/sane directory from the > previous installation to one side and it will compile. > > Using the approach of .. > > cd /usr/ports/graphics/sane-backends > make deinstall all reinstall clean > > .. would also probably work, > > Michael > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (FreeBSD) > > iEYEARECAAYFAkoZ+VwACgkQQv9rrgRC1JLRAACfX+ghh3JKkvPLtrzQWD+fTUW0 > Xr8An0x6IqMy5naZcAtDNIfHaaS5Uhh7 > =9Vsb > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org > " Thanks Michael; Tried deinstall and reinstall approach - it works - but portupgrade definitely fails! Cheers, Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8DB8321B-8BC8-4421-87DE-084EDB122BD9>