sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] build error sks-1.1.1


From: David Benfell
Subject: Re: [Sks-devel] build error sks-1.1.1
Date: Thu, 21 Apr 2011 21:09:32 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On Thu, 21 Apr 2011, David Benfell wrote:

> Hi all,
> 
> On Ubuntu 10.10 with db4.6:
> 
> atlanta% make clean && make dep && make all && sudo make install
> rm -f *.cm[iox]
> rm -f *.annot
> rm -f *.opt
> rm -f *.bc
> rm -f sks sks_add_mail sks.8.gz sks.bc sks_add_mail.bc sks.8.gz
> rm -f *.o
> rm -f prepared
> rm -f sks.8.gz
> ocamldep -pp camlp4o   *.ml *.mli > .depend
> mkdir -p lib
> mkdir -p tmp/bin
> mkdir -p tmp/include
> touch prepared
> cp cryptokit-1.0/cryptokit.cmi cryptokit-1.0/cryptokit.cma \
>          cryptokit-1.0/cryptokit.mli lib
> cp cryptokit-1.0/libcryptokit.a lib
> if test -f cryptokit-1.0/dllcryptokit.so; then \
>          cp cryptokit-1.0/dllcryptokit.so lib; fi
> if test -f cryptokit-1.0/cryptokit.cmxa; then \
>          cp cryptokit-1.0/cryptokit.cmxa
> cryptokit-1.0/cryptokit.cmx \
>          cryptokit-1.0/cryptokit.a lib; fi
> cd bdb && make bdb.cmxa
> make[1]: Entering directory `/home/benfell/sks/sks-1.1.1/bdb'
> gcc -O3 -Werror-implicit-function-declaration -I`ocamlc -where`
> -I/usr/include -L/usr/lib -I . -c bdb_stubs.c 
> bdb_stubs.c: In function ‘caml_dbenv_create’:
> bdb_stubs.c:264: warning: passing argument 2 of ‘dbenv->set_errcall’
> from incompatible pointer type
> bdb_stubs.c:264: note: expected ‘void (*)(const struct DB_ENV *,
> const char *, const char *)’ but argument is of type ‘void (*)(const
> struct DB_ENV *, const char *, char *)’
> bdb_stubs.c: In function ‘caml_db_create’:
> bdb_stubs.c:441: warning: passing argument 2 of ‘db->set_errcall’
> from incompatible pointer type
> bdb_stubs.c:441: note: expected ‘void (*)(const struct DB_ENV *,
> const char *, const char *)’ but argument is of type ‘void (*)(const
> struct DB_ENV *, const char *, char *)’
> bdb_stubs.c: In function ‘caml_cursor_get_keyonly’:
> /usr/include/bits/string3.h:98: sorry, unimplemented: inlining
> failed in call to ‘bzero’: redefined extern inline functions are not
> considered for inlining
> bdb_stubs.c:1000: sorry, unimplemented: called from here
> /usr/include/bits/string3.h:98: sorry, unimplemented: inlining
> failed in call to ‘bzero’: redefined extern inline functions are not
> considered for inlining
> bdb_stubs.c:1000: sorry, unimplemented: called from here
> make[1]: *** [bdb_stubs.o] Error 1
> make[1]: Leaving directory `/home/benfell/sks/sks-1.1.1/bdb'
> make: *** [bdb/bdb.cmxa] Error 2
> atlanta% 
> 
> I can't find ocaml-dev.
> 
> ii  libfindlib-ocaml                                     1.2.5+debian-1build1 
>                                library for managing OCaml libraries (runtime)
> ii  libfindlib-ocaml-dev                                 1.2.5+debian-1build1 
>                                library for managing OCaml libraries 
> (development files)
> ii  libogg-ocaml                                         0.3.1-1build1        
>                                OCaml bindings for the Ogg bitstream library
> ii  libogg-ocaml-dev                                     0.3.1-1build1        
>                                OCaml bindings for the Ogg bitstream library
> ii  libspeex-ocaml                                       0.1.2-1build1        
>                                OCaml interface to the speex library
> ii  libspeex-ocaml-dev                                   0.1.2-1build1        
>                                OCaml interface to the speex library
> ii  ocaml-base-nox                                       3.11.2-1             
>                                Runtime system for OCaml bytecode executables 
> (no X)
> ii  ocaml-findlib                                        1.2.5+debian-1build1 
>                                management tool for OCaml libraries
> ii  ocaml-interp                                         3.11.2-1             
>                                OCaml interactive interpreter and standard 
> libraries
> ii  ocaml-nox                                            3.11.2-1             
>                                ML implementation with a class-based object 
> system (no X)
> 
> And I don't know why this says libdb4.8-dev is installed; I
> specifically downgraded to libdb4.6-dev because I found something
> somewhere suggesting that db4.8 was not supported.  Aptitude tells
> me that libdb4.6-dev is installed.
> 
> ii  libdb-dev                                            4.8                  
>                                Berkeley Database Libraries [development]
> ii  libdb4.6                                             4.6.21-16            
>                                Berkeley v4.6 Database Libraries [runtime]
> ii  libdb4.7                                             4.7.25-9             
>                                Berkeley v4.7 Database Libraries [runtime]
> ii  libdb4.8                                             4.8.30-1             
>                                Berkeley v4.8 Database Libraries [runtime]
> ii  libdb4.8-dev                                         4.8.30-1             
>                                Berkeley v4.8 Database Libraries [development]
> ii  libdbd-mysql-perl                                    4.016-1              
>                                Perl5 database interface to the MySQL database
> ii  libdbi-perl                                          1.611-1              
>                                Perl Database Interface (DBI)
> ii  libdbus-1-3                                          1.4.0-0ubuntu1.2     
>                                simple interprocess messaging system
> ii  libdbus-1-dev                                        1.4.0-0ubuntu1.2     
>                                simple interprocess messaging system 
> (development headers)
> ii  libdbus-glib-1-2                                     0.88-2               
>                                simple interprocess messaging system 
> (GLib-based shared library)
> ii  libdbus-glib-1-dev                                   0.88-2               
>                                simple interprocess messaging system (GLib 
> interface)
> ii  libdbusmenu-glib1                                    0.3.16-0ubuntu1      
>                                library for passing menus over DBus
> ii  libdbusmenu-gtk1                                     0.3.16-0ubuntu1      
>                                library for passing menus over DBus - GTK+ 
> version
> ii  libdbusmenu-qt2                                      0.6.4-0ubuntu1       
>                                a Qt library that implements the DBusMenu spec
> 
> Which matches:
> 
> atlanta% cat Makefile.local
> BDBLIB=-L/usr/lib
> BDBINCLUDE=-I/usr/include
> PREFIX=/usr/local
> LIBDB=-ldb-4.6
> MANDIR=/usr/share/man
> export BDBLIB
> export BDBINCLUDE
> export PREFIX
> export LIBDB
> export MANDIR
> atlanta% 
> 
> -- 
> David Benfell <address@hidden>
> http://www.parts-unknown.org/



-- 
David Benfell <address@hidden>
http://www.parts-unknown.org/

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]