Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2002 14:18:29 -0300
From:      Fernan Aguero <fernan@iib.unsam.edu.ar>
To:        FreeBSD Ports <ports@FreeBSD.ORG>
Subject:   alloca.h: No such file ... [pybliographer]
Message-ID:  <20020910171828.GD84265@iib.unsam.edu.ar>

next in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi!

I'm still fighting with the pybliographer port (see recent message
posted to ports-). 

Attached is my config.log. Apparently (please correct me if I'm wrong)
the problem is not recode ... before getting there I can spot an error
regarding alloca.h 

I've searched several archives for problems with alloca.h. The only
interesting threads I got were about changing the call to alloca for
g_alloca or galloca. However I don't find any galloca.h in my system.
http://mail.gnome.org/archives/gnome-components-list/2001-August/msg00115.html

The other is from slashdot, and refers to removing any includes of
alloca.h (thread is about porting a game from linux).

I'm utterly ignorant of what alloca.h does or why it is needed
Also, I'm not sure if i can get rid of it that easy ...

Any help is appreciated,

Fernan

-- 
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="config.log"

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:583: checking for a BSD compatible install
configure:636: checking whether build environment is sane
configure:693: checking whether make sets ${MAKE}
configure:739: checking for working aclocal
configure:752: checking for working autoconf
configure:765: checking for working automake
configure:778: checking for working autoheader
configure:791: checking for working makeinfo
configure:826: checking for gcc
configure:939: checking whether the C compiler (cc -O -pipe  -L/usr/local/lib) works
configure:955: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:981: checking whether the C compiler (cc -O -pipe  -L/usr/local/lib) is a cross-compiler
configure:986: checking whether we are using GNU C
configure:995: cc -E conftest.c
configure:1014: checking whether cc accepts -g
configure:1046: checking for POSIXized ISC
configure:1076: checking for python
configure:1115: checking python version is at least 1.5.2
configure:1164: checking python devel
configure:1238: checking for glib12-config
configure:1273: checking for GLIB - version >= 1.2.0
configure:1372: cc -o conftest -O -pipe  -I/usr/local/include/glib12 -I/usr/local/include -L/usr/local/lib conftest.c -L/usr/local/lib -lglib12  1>&5
configure:1531: checking host system type
configure:1552: checking build system type
configure:1572: checking for ranlib
configure:1611: checking for ld used by GCC
configure:1673: checking if the linker (/usr/libexec/elf/ld) is GNU ld
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
configure:1689: checking for BSD-compatible nm
configure:1725: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: cc -c -O -pipe  -I/usr/local/include conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
ltconfig:776: checking if cc PIC flag -fPIC works
ltconfig:777: cc -c -O -pipe  -fPIC -DPIC -I/usr/local/include conftest.c 1>&5
ltconfig:829: checking if cc supports -c -o file.o
ltconfig:830: cc -c -O -pipe  -o out/conftest2.o -I/usr/local/include conftest.c 1>&5
ltconfig:862: checking if cc supports -c -o file.lo
ltconfig:863: cc -c -O -pipe  -c -o conftest.lo -I/usr/local/include conftest.c 1>&5
ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions
ltconfig:915: cc -c -O -pipe  -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c 1>&5
ltconfig:958: checking if cc static flag -static works
ltconfig:959: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib -static conftest.c  1>&5
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: cc -c -O -pipe  -I/usr/local/include conftest.c 1>&5
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: cc -o conftest -O -pipe  -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include -L/usr/local/lib conftest.c conftstm.o 1>&5
configure:1916: checking how to run the C preprocessor
configure:1937: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2001: checking for flex
configure:2034: checking for flex
configure:2068: checking for yywrap in -lfl
configure:2087: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c -lfl   1>&5
configure:2110: checking lex output file root
configure:2131: checking whether yytext is a pointer
configure:2150: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  -lfl 1>&5
configure:2176: checking for bison
configure:2212: checking for ANSI C header files
configure:2225: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2292: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:2316: checking for working const
configure:2370: cc -c -O -pipe  -I/usr/local/include conftest.c 1>&5
configure:2391: checking for inline
configure:2405: cc -c -O -pipe  -I/usr/local/include conftest.c 1>&5
configure:2431: checking for off_t
configure:2464: checking for size_t
configure:2499: checking for working alloca.h
configure:2511: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:2505: alloca.h: No such file or directory
configure: failed program was:
#line 2504 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:2532: checking for alloca
configure:2565: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:2734: checking for unistd.h
configure:2744: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:2773: checking for getpagesize
configure:2801: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:2826: checking for working mmap
configure:2974: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3002: checking for argz.h
configure:3012: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3008: argz.h: No such file or directory
configure: failed program was:
#line 3007 "configure"
#include "confdefs.h"
#include <argz.h>
configure:3002: checking for limits.h
configure:3012: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3002: checking for locale.h
configure:3012: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3002: checking for nl_types.h
configure:3012: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3002: checking for malloc.h
configure:3012: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
In file included from configure:3008:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
configure: failed program was:
#line 3007 "configure"
#include "confdefs.h"
#include <malloc.h>
configure:3002: checking for string.h
configure:3012: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3002: checking for unistd.h
configure:3002: checking for sys/param.h
configure:3012: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3042: checking for getcwd
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for munmap
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for putenv
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for setenv
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for setlocale
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for strchr
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for strcasecmp
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for strdup
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3042: checking for __argz_count
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
/tmp/ccZ8pkpB.o: In function `main':
/tmp/ccZ8pkpB.o(.text+0x7): undefined reference to `__argz_count'
configure: failed program was:
#line 3047 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_count();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:3042: checking for __argz_stringify
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
/tmp/ccvvuW19.o: In function `main':
/tmp/ccvvuW19.o(.text+0x7): undefined reference to `__argz_stringify'
configure: failed program was:
#line 3047 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_stringify();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:3042: checking for __argz_next
configure:3070: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
/tmp/ccgZAODp.o: In function `main':
/tmp/ccgZAODp.o(.text+0x7): undefined reference to `__argz_next'
configure: failed program was:
#line 3047 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_next();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:3099: checking for stpcpy
configure:3127: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
/tmp/ccXgT4oW.o: In function `main':
/tmp/ccXgT4oW.o(.text+0x7): undefined reference to `stpcpy'
configure: failed program was:
#line 3104 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stpcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:3161: checking for LC_MESSAGES
configure:3173: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
configure:3194: checking whether NLS is requested
configure:3214: checking whether included gettext is requested
configure:3233: checking for libintl.h
configure:3243: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out
configure:3260: checking for gettext in libc
configure:3272: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
/tmp/cc8NZjwy.o: In function `main':
/tmp/cc8NZjwy.o(.text+0xf): undefined reference to `libintl_gettext'
configure: failed program was:
#line 3265 "configure"
#include "confdefs.h"
#include <libintl.h>
int main() {
return (int) gettext ("")
; return 0; }
configure:3288: checking for bindtextdomain in -lintl
configure:3307: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c -lintl   1>&5
configure:3323: checking for gettext in libintl
configure:3328: checking for gettext in -lintl
configure:3347: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c -lintl   1>&5
configure:3386: checking for msgfmt
configure:3420: checking for dcgettext
configure:3448: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
/tmp/ccuGgsC9.o: In function `main':
/tmp/ccuGgsC9.o(.text+0x7): undefined reference to `dcgettext'
configure: failed program was:
#line 3425 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dcgettext(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dcgettext();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_dcgettext) || defined (__stub___dcgettext)
choke me
#else
dcgettext();
#endif

; return 0; }
configure:3475: checking for gmsgfmt
configure:3511: checking for xgettext
configure:3551: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c  1>&5
/tmp/ccqh03Ie.o: In function `main':
/tmp/ccqh03Ie.o(.text+0x4): undefined reference to `_nl_msg_cat_cntr'
configure: failed program was:
#line 3543 "configure"
#include "confdefs.h"

int main() {
extern int _nl_msg_cat_cntr;
			       return _nl_msg_cat_cntr
; return 0; }
configure:4009: checking for catalogs to be installed
configure:4138: checking for GNU Recode in /usr/local
configure:4168: cc -o conftest -O -pipe  -I/usr/local/include -L/usr/local/lib conftest.c -L/usr/local/lib -lrecode 1>&5
/usr/local/lib/librecode.so: undefined reference to `dcgettext__'
/usr/local/lib/librecode.so: undefined reference to `_nl_msg_cat_cntr'
configure: failed program was:
#line 4156 "configure"
#include "confdefs.h"

  	char recode_new_request();
   	char * program_name;
  
int main() {
  
  	recode_new_request(); 
  
; return 0; }

--a8Wt8u1KmwUX3Y2C--

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




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