Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2002 17:22:39 -0600
From:      Glenn Johnson <glennpj@charter.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        Sean McNeil <sean@mcneil.com>, Adam Weinberger <adamw@FreeBSD.ORG>, gnome@FreeBSD.ORG
Subject:   Re: soup build failure
Message-ID:  <20021112232239.GA30295@gforce.johnson.home>
In-Reply-To: <1037141980.2584.44.camel@gyros>
References:  <BJEIIPHPIIDCPFGIPEPBIEAPCAAA.sean@mcneil.com> <1037131484.2584.6.camel@gyros> <20021112201943.GA1128@gforce.johnson.home> <1037133036.2584.14.camel@gyros> <20021112222722.GA14587@gforce.johnson.home> <20021112224240.GB14587@gforce.johnson.home> <1037141121.2584.38.camel@gyros> <1037141268.2584.40.camel@gyros> <20021112225551.GA62024@gforce.johnson.home> <1037141980.2584.44.camel@gyros>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2002 at 05:59:41PM -0500, Joe Marcus Clarke wrote:

> Apache 1.3.x's apxs doesn't add the ";;" characters.  Except the sed
> call you have doesn't seem to work.
>
> APACHE_CFLAGS="-I`apxs -q INCLUDEDIR CFLAGS | sed -e s/';;/ '/`"
>
> should work, though.

Well, I fat-fingered the initial patch I did and got soup to build.  I
guess I inadvertently disabled apache.  Using the above pattern for
APACHE_CFLAGS does do the right thing with regard to the ';;' problem
but now the configure script is having a problem with the next line.

APACHE_LIBS=`apxs -q LDFLAGS_SHLIB LIBS_SHLIB`

When I run apxs -q LDFLAGS_SHLIB LIBS_SHLIB from the command line I get
the following:

Global symbol "$CFG_LDFLAGS_SHLIB" requires explicit package name at (eval 27) line 2.

When building soup I get:

===>  Building for soup-0.7.4_1
make  all-recursive
Making all in src
Making all in libsoup
Making all in libsoup-apache
/bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"SOUP-APACHE\" 		-I../../src						-I/usr/local/include/glib12				-I/usr/local/include/gnome-xml				-I/usr/local/include/apache2 -O -pipe -march=k6 -DNO_IDEA  -I/usr/local/include  -O -pipe -march=k6 		-Wall -Wstrict-prototypes -Wmissing-declarations 		-Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c soup-apache.c
rm -f .libs/soup-apache.lo
cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"SOUP-APACHE\" -I../../src -I/usr/local/include/glib12 -I/usr/local/include/gnome-xml -I/usr/local/include/apache2 -O -pipe -march=k6 -DNO_IDEA -I/usr/local/include -O -pipe -march=k6 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -D_REENTRANT -c soup-apache.c  -fPIC -DPIC -o .libs/soup-apache.lo
In file included from soup-apache.c:18:
/usr/local/include/apache2/http_config.h:187: warning: function declaration isn't a prototype
In file included from soup-apache.c:26:
../../src/libsoup/soup-private.h:34: warning: function declaration isn't a prototype
soup-apache.c:31: syntax error before `pool'
soup-apache.c:32: warning: function declaration isn't a prototype
soup-apache.c: In function `soup_apache_message_create':
soup-apache.c:64: warning: implicit declaration of function `ap_table_do'
soup-apache.c: In function `soup_apache_read_request':
soup-apache.c:84: warning: implicit declaration of function `ap_palloc'
soup-apache.c:84: warning: assignment makes pointer from integer without a cast
soup-apache.c:87: warning: implicit declaration of function `ap_hard_timeout'
soup-apache.c:94: warning: implicit declaration of function `ap_reset_timeout'
soup-apache.c:99: warning: implicit declaration of function `ap_kill_timeout'
soup-apache.c: In function `soup_apache_add_header':
soup-apache.c:113: warning: implicit declaration of function `ap_table_set'
soup-apache.c: In function `soup_apache_handler':
soup-apache.c:177: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
soup-apache.c:177: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
soup-apache.c:196: structure has no member named `user'
soup-apache.c:223: warning: implicit declaration of function `ap_psprintf'
soup-apache.c:226: warning: assignment makes pointer from integer without a cast
soup-apache.c:234: warning: implicit declaration of function `ap_send_http_header'
soup-apache.c: At top level:
soup-apache.c:264: syntax error before `soup_apache_handlers'
soup-apache.c:264: warning: type defaults to `int' in declaration of `soup_apache_handlers'
soup-apache.c:266: warning: braces around scalar initializer
soup-apache.c:266: warning: (near initialization for `soup_apache_handlers[0]')
soup-apache.c:266: warning: initialization makes integer from pointer without a cast
soup-apache.c:266: warning: excess elements in scalar initializer
soup-apache.c:266: warning: (near initialization for `soup_apache_handlers[0]')
soup-apache.c:267: warning: braces around scalar initializer
soup-apache.c:267: warning: (near initialization for `soup_apache_handlers[1]')
soup-apache.c:268: warning: data definition has no type or storage class
soup-apache.c:270: syntax error before `soup_module'
soup-apache.c:32: warning: `soup_apache_init' defined but not used
soup-apache.c:248: warning: `soup_apache_check_user_id' defined but not used
soup-apache.c:254: warning: `soup_apache_auth_checker' defined but not used
soup-apache.c:260: warning: `soup_apache_access_checker' defined but not used
*** Error code 1

Stop in /usr/ports/devel/soup/work/soup-0.7.4/src/libsoup-apache.
*** Error code 1

Stop in /usr/ports/devel/soup/work/soup-0.7.4/src.
*** Error code 1

Stop in /usr/ports/devel/soup/work/soup-0.7.4.
*** Error code 1

Stop in /usr/ports/devel/soup/work/soup-0.7.4.
*** Error code 1

Stop in /usr/ports/devel/soup.

-- 
Glenn Johnson
glennpj@charter.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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