#14938 closed defect (duplicate)
sqlite3 3.5.7 build error: f: command not found — at Version 11
Reported by: | rhwood@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | randy@…, ryandesign@… | |
Port: |
Description (last modified by jmroot (Joshua Root))
---> 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. Obilex:~ rhwood$ uname -a Darwin Obilex.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386 Obilex:~ rhwood$ gcc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Change History (11)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | randy@… added |
---|---|
Summary: | Sqlite3 build error → sqlite3 3.5.7 build error: f: command not found |
comment:2 Changed 17 years ago by travis.vachon@…
Just ran into this install git +svn with:
sudo port install git +svn
Strangely, after running
sudo port clean --work sqlite3 sudo port install sqlite3
everything seemed to work fine.
comment:3 Changed 17 years ago by travis.vachon@…
oof, formatting got weirded in comment 2, the second set of commands should be:
sudo port clean --work sqlite3; sudo port install sqlite3
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
This is biting a lot of people running Leopard, and for whatever reason, simply attempting the install again fixes it.
#14523 may be the same problem.
comment:6 Changed 17 years ago by cyflea@…
Yeah, installing nawk
fixes it for me, too. I see this in the portfile:
depends_build port:gawk port:gmake
perhaps that should be changed to port:nawk
?
comment:7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
Are you sure nawk is required? Because sqlite3 install just fine for me without nawk on Mac OS X 10.5.3 with Xcode 3.1 (iPhone SDK beta 6) and MacPorts trunk@37255. It sounds like the Leopard environment variable issue, the fix for which is to clean the port and try again, as travis said in comment 2
sqlite3's dependency on gawk seems erroneous too. It works fine without it. I filed #15478 to remove it.
comment:8 Changed 16 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #14523.
comment:10 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | ticketformatting added |
---|
comment:11 Changed 16 years ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | ticketformatting removed |
Randy Bush reported this problem on macports-users.