From: "Marc G. Fournier" on

I've read everything I can find, including UPDATING and Google, and I'm
not finding any answers to this (or, rather, finding answers, but nothing
seems to apply) ...

X--mode=compile: not found
*** Warning: inferring the mode of operation is deprecated.: not found
*** Future versions of Libtool will require --mode=MODE be specified.: not
found
Xcc: not found
X-g: not found
X-O2: not found
X-DHAVE_CONFIG_H: not found
/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
X-I/usr/local/include: not found
/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include: not
found
/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
found
/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
X-I./include/arch/unix: not found
/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
found
/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include: not found
X-c: not found
/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
Xpasswd/apr_getpass.lo: not found
libtool: compile: cannot determine name of library object from `': not
found

Right now, have the following installed:

# ls -ld /var/db/pkg/ap*
drwxr-xr-x 2 root wheel 512 Jun 2 12:32 /var/db/pkg/apache-2.2.15_9
drwxr-xr-x 2 root wheel 512 Jun 2 12:32
/var/db/pkg/apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1

Where apr-ipv6-devrandom-gdbm-db42-1.4.2.1.3.9_1 was installed as a
package (but I need pgsql support, so have to upgrade) ...

A few 'oddities' with doing a make, that may or may not be related:

===
buildconf: Using libtool.m4 at /usr/local/share/aclocal/libtool.m4.
chmod: build/libtool.m4: No such file or directory
Creating include/arch/unix/apr_private.h.in ...
===

And

===
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
grep: /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: No such
file or directory
===

And

===
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing default commands
===

I read in one place talking about old ENV variables in /etc/make.conf, but
mine *appears* to be clean:

===
# cat /etc/make.conf
WRKDIRPREFIX= /home/ports
DISTDIR=/home/ports/distfiles
INDEXDIR=/home/ports

WITHOUT_IPV6=yes
WITHOUT_X11=yes
WITHOUT_XIM=yes

SUEXEC_DOCROOT=/usr/local/www

# added by use.perl 2010-06-01 23:17:10
PERL_VERSION=5.8.9
===

So is there something I'm still overlooking?

I even went to the extreme of pkg_delete'ng lib*,auto*,apache*,apr* just
to force everything to rebuild/install ... no difference ...

Help?

Thanks ...


----
Marc G. Fournier Hub.Org Hosting Solutions S.A.
scrappy(a)hub.org http://www.hub.org

Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy(a)hub.org
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Dylan Leigh on
On Wed, Jun 02, 2010 at 01:02:11PM -0300, Marc G. Fournier wrote:
> X--mode=compile: not found
> *** Warning: inferring the mode of operation is deprecated.: not found
> *** Future versions of Libtool will require --mode=MODE be specified.: not
> found
> Xcc: not found
> X-g: not found
> X-O2: not found
> X-DHAVE_CONFIG_H: not found
> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
> X-I/usr/local/include: not found
> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include: not
> found
> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
> found
> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
> X-I./include/arch/unix: not found
> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
> found
> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include: not found
> X-c: not found
> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
> Xpasswd/apr_getpass.lo: not found
> libtool: compile: cannot determine name of library object from `': not
> found

I got the same errors. As I only need apr for Subversion I was able to
work around it by editing the subversion makefile to use apr0. The svn
port will use apr0 if ${APACHE_VERSION} > 20, but if 2+ or no apache
is installed it insists on apr1.


--
Dylan Leigh - www.dylanleigh.net

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Marc G. Fournier" on
On Thu, 3 Jun 2010, Dylan Leigh wrote:

> On Wed, Jun 02, 2010 at 01:02:11PM -0300, Marc G. Fournier wrote:
>> X--mode=compile: not found
>> *** Warning: inferring the mode of operation is deprecated.: not found
>> *** Future versions of Libtool will require --mode=MODE be specified.: not
>> found
>> Xcc: not found
>> X-g: not found
>> X-O2: not found
>> X-DHAVE_CONFIG_H: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/usr/local/include: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include: not
>> found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>> found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I./include/arch/unix: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>> found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include: not found
>> X-c: not found
>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>> Xpasswd/apr_getpass.lo: not found
>> libtool: compile: cannot determine name of library object from `': not
>> found
>
> I got the same errors. As I only need apr for Subversion I was able to
> work around it by editing the subversion makefile to use apr0. The svn
> port will use apr0 if ${APACHE_VERSION} > 20, but if 2+ or no apache
> is installed it insists on apr1.

I've tried to build apr1 on a few different boxes, and get the same
errors, so I suspect its a relatively common problem ... the weird thing
I'm finding is I can't find even where Xcc (or similar) is being defined:

ams# cd /home/ports/usr/ports/devel/apr1/work
ams# grep -r Xcc .
ams# grep -r Xcc /usr/ports/Mk
ams# cd /usr/ports/devel/apr1
ams# grep -r Xcc .

Is it using the wrong libtool?

/bin/sh /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool --silent
--mode=compile cc -g -O2 -DHAVE_CONFIG_H -I


----
Marc G. Fournier Hub.Org Hosting Solutions S.A.
scrappy(a)hub.org http://www.hub.org

Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy(a)hub.org
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Marc G. Fournier" on

[+pgollucci, last committer to apr1 port]


On Thu, 3 Jun 2010, Marc G. Fournier wrote:

> On Thu, 3 Jun 2010, Dylan Leigh wrote:
>
>> On Wed, Jun 02, 2010 at 01:02:11PM -0300, Marc G. Fournier wrote:
>>> X--mode=compile: not found
>>> *** Warning: inferring the mode of operation is deprecated.: not found
>>> *** Future versions of Libtool will require --mode=MODE be specified.: not
>>> found
>>> Xcc: not found
>>> X-g: not found
>>> X-O2: not found
>>> X-DHAVE_CONFIG_H: not found
>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>> X-I/usr/local/include: not found
>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include: not
>>> found
>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>>> found
>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>> X-I./include/arch/unix: not found
>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>>> found
>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include: not found
>>> X-c: not found
>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>> Xpasswd/apr_getpass.lo: not found
>>> libtool: compile: cannot determine name of library object from `': not
>>> found
>>
>> I got the same errors. As I only need apr for Subversion I was able to
>> work around it by editing the subversion makefile to use apr0. The svn
>> port will use apr0 if ${APACHE_VERSION} > 20, but if 2+ or no apache
>> is installed it insists on apr1.
>
> I've tried to build apr1 on a few different boxes, and get the same errors,
> so I suspect its a relatively common problem ... the weird thing I'm finding
> is I can't find even where Xcc (or similar) is being defined:
>
> ams# cd /home/ports/usr/ports/devel/apr1/work
> ams# grep -r Xcc .
> ams# grep -r Xcc /usr/ports/Mk
> ams# cd /usr/ports/devel/apr1
> ams# grep -r Xcc .
>
> Is it using the wrong libtool?
>
> /bin/sh /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool --silent
> --mode=compile cc -g -O2 -DHAVE_CONFIG_H -I
>
>
> ----
> Marc G. Fournier Hub.Org Hosting Solutions S.A.
> scrappy(a)hub.org http://www.hub.org
>
> Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy(a)hub.org
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>

----
Marc G. Fournier Hub.Org Hosting Solutions S.A.
scrappy(a)hub.org http://www.hub.org

Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy(a)hub.org
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Marc G. Fournier" on

Looking a bit into this, trying to figure out *something* ...

In files/patch-apr_buildconf, it has:

===
cat /usr/ports/devel/apr1/files/patch-apr_buildconf
--- apr-1.4.2/buildconf.orig 2009-02-24 06:37:18.000000000 +0300
+++ apr-1.4.2/buildconf 2009-09-27 14:25:11.000000000 +0400
@@ -71,6 +71,7 @@

echo "buildconf: Using libtool.m4 at ${ltfile}."

+chmod 664 build/libtool.m4
cat $ltfile | sed -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' >
build/libtool.m4

# libtool.m4 from 1.6 requires ltsugar.m4
===

Why is 'build/libtool.m4' hard coded vs using ${ltfile}?

It doesn't fix the problem, only silences one error in configure about No
such file or directory ...


On Thu, 3 Jun 2010, Marc G. Fournier wrote:

>
> [+pgollucci, last committer to apr1 port]
>
>
> On Thu, 3 Jun 2010, Marc G. Fournier wrote:
>
>> On Thu, 3 Jun 2010, Dylan Leigh wrote:
>>
>>> On Wed, Jun 02, 2010 at 01:02:11PM -0300, Marc G. Fournier wrote:
>>>> X--mode=compile: not found
>>>> *** Warning: inferring the mode of operation is deprecated.: not found
>>>> *** Future versions of Libtool will require --mode=MODE be specified.:
>>>> not
>>>> found
>>>> Xcc: not found
>>>> X-g: not found
>>>> X-O2: not found
>>>> X-DHAVE_CONFIG_H: not found
>>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>>> X-I/usr/local/include: not found
>>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool: X-I./include:
>>>> not
>>>> found
>>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>>>> found
>>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>>> X-I./include/arch/unix: not found
>>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include/arch/unix: not
>>>> found
>>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>>> X-I/home/ports/usr/ports/devel/apr1/work/apr-1.4.2/include: not found
>>>> X-c: not found
>>>> /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool:
>>>> Xpasswd/apr_getpass.lo: not found
>>>> libtool: compile: cannot determine name of library object from `': not
>>>> found
>>>
>>> I got the same errors. As I only need apr for Subversion I was able to
>>> work around it by editing the subversion makefile to use apr0. The svn
>>> port will use apr0 if ${APACHE_VERSION} > 20, but if 2+ or no apache
>>> is installed it insists on apr1.
>>
>> I've tried to build apr1 on a few different boxes, and get the same errors,
>> so I suspect its a relatively common problem ... the weird thing I'm
>> finding is I can't find even where Xcc (or similar) is being defined:
>>
>> ams# cd /home/ports/usr/ports/devel/apr1/work
>> ams# grep -r Xcc .
>> ams# grep -r Xcc /usr/ports/Mk
>> ams# cd /usr/ports/devel/apr1
>> ams# grep -r Xcc .
>>
>> Is it using the wrong libtool?
>>
>> /bin/sh /home/ports/usr/ports/devel/apr1/work/apr-1.4.2/libtool --silent
>> --mode=compile cc -g -O2 -DHAVE_CONFIG_H -I
>>
>>
>> ----
>> Marc G. Fournier Hub.Org Hosting Solutions S.A.
>> scrappy(a)hub.org http://www.hub.org
>>
>> Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy(a)hub.org
>> _______________________________________________
>> freebsd-ports(a)freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>>
>
> ----
> Marc G. Fournier Hub.Org Hosting Solutions S.A.
> scrappy(a)hub.org http://www.hub.org
>
> Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy(a)hub.org
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>

----
Marc G. Fournier Hub.Org Hosting Solutions S.A.
scrappy(a)hub.org http://www.hub.org

Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:scrappy(a)hub.org
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"