[MacPorts] #13953: sudo port install php5 +apache2 keeps crashing
#13953: sudo port install php5 +apache2 keeps crashing -------------------------------------+-------------------------------------- Reporter: nadeem.shabir@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- I've been trying for over a week to simply install php5 +apache2 I'm running Mac OSX 10.5 and have installed Xcode 3.0 plus all the X11 SDK tools etc. as per in the installation guide. I have used the Macports 1.6.0 installer. and run sudo port -v selfupdate and sync successfully. However whenever I try to issue the command: sudo port install php5 +apache2 i'm currently getting the following error: 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.4" && gnumake all " returned error 2 Command output: sed -e s/--VERS--/3.5.4/ ./src/sqlite.h.in | \ sed -e s/--VERSION-NUMBER--/3005004/ >sqlite3.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: apr-util sqlite3 openssl zlib pcre Error: Status 1 encountered during processing. Macintosh-2:/ nadeemshabir$ sudo port install apr-util Password: ---> 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.4" && gnumake all " returned error 2 Command output: ./libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c mkdir .libs /usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c -fno-common -DPIC -o .libs/alter.o ./src/alter.c: In function 'renameTableFunc': ./src/alter.c:77: error: 'TK_SPACE' undeclared (first use in this function) ./src/alter.c:77: error: (Each undeclared identifier is reported only once ./src/alter.c:77: error: for each function it appears in.) ./src/alter.c:79: error: 'TK_LP' undeclared (first use in this function) ./src/alter.c:79: error: 'TK_USING' undeclared (first use in this function) ./src/alter.c: In function 'renameTriggerFunc': ./src/alter.c:135: error: 'TK_SPACE' undeclared (first use in this function) ./src/alter.c:148: error: 'TK_DOT' undeclared (first use in this function) ./src/alter.c:148: error: 'TK_ON' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_WHEN' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_FOR' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_BEGIN' undeclared (first use in this function) ./src/alter.c: In function 'reloadTableSchema': ./src/alter.c:246: error: 'OP_DropTrigger' undeclared (first use in this function) ./src/alter.c:251: error: 'OP_DropTable' undeclared (first use in this function) ./src/alter.c:256: error: 'OP_ParseSchema' undeclared (first use in this function) ./src/alter.c: In function 'sqlite3AlterRenameTable': ./src/alter.c:365: error: 'OP_String8' undeclared (first use in this function) ./src/alter.c:366: error: 'OP_VRename' undeclared (first use in this function) ./src/alter.c: In function 'sqlite3AlterFinishAddColumn': ./src/alter.c:478: error: 'TK_NULL' undeclared (first use in this function) gnumake: *** [alter.lo] Error 1 i have no idea why this keeps happening -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13953> MacPorts </projects/macports> Ports system for Mac OS
#13953: sudo port install php5 +apache2 keeps crashing --------------------------------------+------------------------------------- Reporter: nadeem.shabir@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by jmpp@macports.org): * milestone: => Port Bugs Old description:
I've been trying for over a week to simply install php5 +apache2 I'm running Mac OSX 10.5 and have installed Xcode 3.0 plus all the X11 SDK tools etc. as per in the installation guide.
I have used the Macports 1.6.0 installer. and run sudo port -v selfupdate and sync successfully.
However whenever I try to issue the command:
sudo port install php5 +apache2
i'm currently getting the following error:
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.4" && gnumake all " returned error 2 Command output: sed -e s/--VERS--/3.5.4/ ./src/sqlite.h.in | \ sed -e s/--VERSION-NUMBER--/3005004/ >sqlite3.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: apr-util sqlite3 openssl zlib pcre Error: Status 1 encountered during processing. Macintosh-2:/ nadeemshabir$ sudo port install apr-util Password: ---> 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.4" && gnumake all " returned error 2 Command output: ./libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c mkdir .libs /usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c -fno-common -DPIC -o .libs/alter.o ./src/alter.c: In function 'renameTableFunc': ./src/alter.c:77: error: 'TK_SPACE' undeclared (first use in this function) ./src/alter.c:77: error: (Each undeclared identifier is reported only once ./src/alter.c:77: error: for each function it appears in.) ./src/alter.c:79: error: 'TK_LP' undeclared (first use in this function) ./src/alter.c:79: error: 'TK_USING' undeclared (first use in this function) ./src/alter.c: In function 'renameTriggerFunc': ./src/alter.c:135: error: 'TK_SPACE' undeclared (first use in this function) ./src/alter.c:148: error: 'TK_DOT' undeclared (first use in this function) ./src/alter.c:148: error: 'TK_ON' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_WHEN' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_FOR' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_BEGIN' undeclared (first use in this function) ./src/alter.c: In function 'reloadTableSchema': ./src/alter.c:246: error: 'OP_DropTrigger' undeclared (first use in this function) ./src/alter.c:251: error: 'OP_DropTable' undeclared (first use in this function) ./src/alter.c:256: error: 'OP_ParseSchema' undeclared (first use in this function) ./src/alter.c: In function 'sqlite3AlterRenameTable': ./src/alter.c:365: error: 'OP_String8' undeclared (first use in this function) ./src/alter.c:366: error: 'OP_VRename' undeclared (first use in this function) ./src/alter.c: In function 'sqlite3AlterFinishAddColumn': ./src/alter.c:478: error: 'TK_NULL' undeclared (first use in this function) gnumake: *** [alter.lo] Error 1
i have no idea why this keeps happening
New description: I've been trying for over a week to simply install php5 +apache2 I'm running Mac OSX 10.5 and have installed Xcode 3.0 plus all the X11 SDK tools etc. as per in the installation guide. I have used the Macports 1.6.0 installer. and run sudo port -v selfupdate and sync successfully. However whenever I try to issue the command: {{{ sudo port install php5 +apache2 }}} i'm currently getting the following error: {{{ 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.4" && gnumake all " returned error 2 Command output: sed -e s/--VERS--/3.5.4/ ./src/sqlite.h.in | \ sed -e s/--VERSION-NUMBER--/3005004/ >sqlite3.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: apr-util sqlite3 openssl zlib pcre Error: Status 1 encountered during processing. Macintosh-2:/ nadeemshabir$ sudo port install apr-util Password: ---> 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.4" && gnumake all " returned error 2 Command output: ./libtool --mode=compile --tag=CC /usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c mkdir .libs /usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -c ./src/alter.c -fno-common -DPIC -o .libs/alter.o ./src/alter.c: In function 'renameTableFunc': ./src/alter.c:77: error: 'TK_SPACE' undeclared (first use in this function) ./src/alter.c:77: error: (Each undeclared identifier is reported only once ./src/alter.c:77: error: for each function it appears in.) ./src/alter.c:79: error: 'TK_LP' undeclared (first use in this function) ./src/alter.c:79: error: 'TK_USING' undeclared (first use in this function) ./src/alter.c: In function 'renameTriggerFunc': ./src/alter.c:135: error: 'TK_SPACE' undeclared (first use in this function) ./src/alter.c:148: error: 'TK_DOT' undeclared (first use in this function) ./src/alter.c:148: error: 'TK_ON' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_WHEN' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_FOR' undeclared (first use in this function) ./src/alter.c:151: error: 'TK_BEGIN' undeclared (first use in this function) ./src/alter.c: In function 'reloadTableSchema': ./src/alter.c:246: error: 'OP_DropTrigger' undeclared (first use in this function) ./src/alter.c:251: error: 'OP_DropTable' undeclared (first use in this function) ./src/alter.c:256: error: 'OP_ParseSchema' undeclared (first use in this function) ./src/alter.c: In function 'sqlite3AlterRenameTable': ./src/alter.c:365: error: 'OP_String8' undeclared (first use in this function) ./src/alter.c:366: error: 'OP_VRename' undeclared (first use in this function) ./src/alter.c: In function 'sqlite3AlterFinishAddColumn': ./src/alter.c:478: error: 'TK_NULL' undeclared (first use in this function) gnumake: *** [alter.lo] Error 1 }}} i have no idea why this keeps happening -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13953#comment:1> MacPorts </projects/macports> Ports system for Mac OS
MacPorts wrote:
However whenever I try to issue the command: sudo port install php5 +apache2 i'm currently getting the following error:
I bumped into the same error. I found that "sudo port clean --all sqlite3" and then restarting the install would allow the build to continue. Maarten. -- View this message in context: http://www.nabble.com/-13953%3A-sudo-port-install-php5-%2Bapache2-keeps-cras... Sent from the MacPorts - Tickets mailing list archive at Nabble.com.
#13953: sqlite3 3.5.4 build failure --------------------------------------+------------------------------------- Reporter: nadeem.shabir@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => mww@macports.org * summary: sudo port install php5 +apache2 keeps crashing => sqlite3 3.5.4 build failure Comment: Assigning to the maintainer of the failing port (sqlite3). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13953#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#13953: sqlite3 3.5.4 build failure --------------------------------------+------------------------------------- Reporter: nadeem.shabir@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ingokeck@users.sourceforge.net): 'port install gmake' before installing sqlite3 solved the problem in my case. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13953#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#13953: sqlite3 3.5.4 build failure --------------------------------------+------------------------------------- Reporter: nadeem.shabir@gmail.com | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * cc: asmarin@us.es, rderuiter@gmail.com (added) Comment: Has duplicate #14322 with some additional info. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13953#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#13953: sqlite3 3.5.4 build failure --------------------------------------+------------------------------------- Reporter: nadeem.shabir@gmail.com | Owner: mww@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by reiffert@macports.org): * status: new => closed * resolution: => fixed Comment: port install gmake confirmed as solution by robroy on irc. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13953#comment:5> MacPorts </projects/macports> Ports system for Mac OS
participants (2)
-
MacPorts
-
Thinkling