#66 python-bibtex doesn't compile on FreeBSD 5.1 AMD64

Severe bug
closed-invalid
nobody
misc (15)
5
2005-05-02
2005-04-01
Anonymous
No

Here's what I get:

r3# python setup.py install
running install
running check
running build
running build_ext
building '_bibtex' extension
creating build
creating build/temp.freebsd-5.3-RC1-amd64-2.3
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c accents.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/accents.o
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c biblex.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/biblex.o
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c source.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/source.o
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c bibtex.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/bibtex.o
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c stringutils.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/stringutils.o
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c bibparse.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/bibparse.o
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c author.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/author.o
cc -fno-strict-aliasing -DNDEBUG -O -pipe
-DTHREAD_STACK_SIZE=0x100000 -fPIC
-DG_LOG_DOMAIN="BibTeX" -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/python2.3 -c reverse.c -o
build/temp.freebsd-5.3-RC1-amd64-2.3/reverse.o
reverse.c:57:20: recode.h: No such file or directory
reverse.c: In function `bibtex_reverse_field':
reverse.c:115: error: syntax error before "outer"
reverse.c:116: error: syntax error before "request"
reverse.c:122: error: `outer' undeclared (first use in
this function)
reverse.c:122: error: (Each undeclared identifier is
reported only once
reverse.c:122: error: for each function it appears in.)
reverse.c:127: error: `request' undeclared (first use
in this function)
reverse.c:162: warning: assignment makes pointer from
integer without a cast
reverse.c:191: warning: assignment makes pointer from
integer without a cast
reverse.c:330: warning: assignment makes pointer from
integer without a cast
reverse.c:348: warning: assignment makes pointer from
integer without a cast
reverse.c:367: warning: assignment makes pointer from
integer without a cast
error: command 'cc' failed with exit status 1
r3#

Discussion

  • Zoltán Kóta
    Zoltán Kóta
    2005-04-20

    Logged In: YES
    user_id=149336

    It doesn't seem to find recode.h!
    You can try to build it with the following command (see README):
    python setup.py build_ext -I /path/to/recode/include -L
    /path/to/recode/lib
    recode.h is installed under /include on FreeBSD?

     
    • status: open --> closed-invalid