Port sqlite build error:

guglielmo.celata guglielmo.celata at gmail.com
Tue Apr 8 16:36:22 PDT 2008


I have the same issues, while installing sqlite3.
The problem seems to be that the Makefile is not written correctly (the NAWK
variable is not assigned any value).

I have tried to compile manually

./configure
make

and then resume the installation with

port install sqlite

the installation went through with some warnings:

[Users/guglielmo] > install sqlite3
--->  Building sqlite3 with target all
--->  Staging sqlite3 into destroot
Warning: violation by /System
Warning: violation by /usr
Warning: sqlite3 violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it
will be an error in future releases!
--->  Installing sqlite3 3.5.7_0
--->  Activating sqlite3 3.5.7_0
--->  Cleaning sqlite3




Randall Wood-3 wrote:
> 
> --->  Building sqlite3 with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.7"
> && gnumake all " returned error 2
> Command output: sed -e s/--VERS--/3.5.7/ ./src/sqlite.h.in | \
> 	sed -e s/--VERSION-NUMBER--/3005007/ >sqlite3.h
> /usr/bin/gcc-4.0 -O2 -o mkkeywordhash  ./tool/mkkeywordhash.c
> ./mkkeywordhash >keywordhash.h
> /usr/bin/gcc-4.0 -O2 -o lemon ./tool/lemon.c
> cp ./tool/lempar.c .
> cp ./src/parse.y .
> ./lemon  parse.y
> mv parse.h parse.h.temp
> f ./addopcodes.awk parse.h.temp >parse.h
> /bin/sh: f: command not found
> gnumake: [parse.c] Error 127 (ignored)
> cat parse.h ./src/vdbe.c |  -f ./mkopcodeh.awk >opcodes.h
> /bin/sh: -f: command not found
> cat: stdout: Broken pipe
> gnumake: *** [opcodes.h] Error 127
> 
> Error: The following dependencies failed to build: apache2 apr-util
> sqlite3
> Error: Status 1 encountered during processing.
> 
> See http://trac.macosforge.org/projects/macports/ticket/14938
> 
> -- 
> Randall Wood
> randall.h.wood at alexandriasoftware.com
> 
> "The rules are simple: The ball is round. The game lasts 90 minutes.
> All the rest is just philosophy."
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev
> 
> 

-- 
View this message in context: http://www.nabble.com/Port-sqlite-build-error%3A-tp16523464p16537424.html
Sent from the MacPorts - Developer mailing list archive at Nabble.com.



More information about the macports-dev mailing list