[MacPorts] #17314: can't install port sqlite3

MacPorts noreply at macports.org
Tue Nov 18 16:40:32 PST 2008


#17314: can't install port sqlite3
----------------------------------+-----------------------------------------
  Reporter:  utkarshis at yahoo.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect               |      Status:  closed                               
  Priority:  Normal               |   Milestone:  Port Bugs                            
 Component:  ports                |     Version:  1.6.0                                
Resolution:  duplicate            |    Keywords:                                       
      Port:  sqlite3              |  
----------------------------------+-----------------------------------------
Changes (by ram at macports.org):

  * status:  new => closed
  * resolution:  => duplicate


Old description:

> When i try to install sqlite3, i get the following error. i am running
> mac os 10.5
>
> --->  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.6.5"
> && gnumake all " returned error 2
> Command output: sqlite3.c:81814: error: 'TK_LSHIFT' undeclared (first use
> in this function)
> sqlite3.c:81817: error: 'TK_LT' undeclared (first use in this function)
> sqlite3.c:81823: error: 'TK_GE' undeclared (first use in this function)
> sqlite3.c:81826: error: 'TK_RSHIFT' undeclared (first use in this
> function)
> sqlite3.c:81829: error: 'TK_GT' undeclared (first use in this function)
> sqlite3.c:81835: error: 'TK_ILLEGAL' undeclared (first use in this
> function)
> sqlite3.c:81844: error: 'TK_BITOR' undeclared (first use in this
> function)
> sqlite3.c:81847: error: 'TK_CONCAT' undeclared (first use in this
> function)
> sqlite3.c:81852: error: 'TK_COMMA' undeclared (first use in this
> function)
> sqlite3.c:81856: error: 'TK_BITAND' undeclared (first use in this
> function)
> sqlite3.c:81860: error: 'TK_BITNOT' undeclared (first use in this
> function)
> sqlite3.c:81877: error: 'TK_STRING' undeclared (first use in this
> function)
> sqlite3.c:81880: error: 'TK_ID' undeclared (first use in this function)
> sqlite3.c:81892: error: 'TK_DOT' undeclared (first use in this function)
> sqlite3.c:81900: error: 'TK_INTEGER' undeclared (first use in this
> function)
> sqlite3.c:81906: error: 'TK_FLOAT' undeclared (first use in this
> function)
> sqlite3.c:81926: warning: assignment makes integer from pointer without a
> cast
> sqlite3.c:81930: error: 'TK_VARIABLE' undeclared (first use in this
> function)
> sqlite3.c:81939: error: 'TK_REGISTER' undeclared (first use in this
> function)
> sqlite3.c:81979: error: 'TK_BLOB' undeclared (first use in this function)
> sqlite3.c: In function 'sqlite3RunParser':
> sqlite3.c:82051: error: 'TK_SPACE' undeclared (first use in this
> function)
> sqlite3.c:82051: warning: case label value exceeds maximum value for type
> sqlite3.c:82059: error: 'TK_ILLEGAL' undeclared (first use in this
> function)
> sqlite3.c:82059: warning: case label value exceeds maximum value for type
> sqlite3.c:82066: error: 'TK_SEMI' undeclared (first use in this function)
> sqlite3.c:82066: warning: case label value exceeds maximum value for type
> sqlite3.c:82082: warning: comparison between pointer and integer
> sqlite3.c:82083: warning: passing argument 2 of 'sqlite3Parser' makes
> integer from pointer without a cast
> gnumake: *** [sqlite3.lo] Error 1
>
> Error: Status 1 encountered during processing.

New description:

 When i try to install sqlite3, i get the following error. i am running mac
 os 10.5

 {{{
 --->  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.6.5"
 && gnumake all " returned error 2
 Command output: sqlite3.c:81814: error: 'TK_LSHIFT' undeclared (first use
 in this function)
 sqlite3.c:81817: error: 'TK_LT' undeclared (first use in this function)
 sqlite3.c:81823: error: 'TK_GE' undeclared (first use in this function)
 sqlite3.c:81826: error: 'TK_RSHIFT' undeclared (first use in this
 function)
 sqlite3.c:81829: error: 'TK_GT' undeclared (first use in this function)
 sqlite3.c:81835: error: 'TK_ILLEGAL' undeclared (first use in this
 function)
 sqlite3.c:81844: error: 'TK_BITOR' undeclared (first use in this function)
 sqlite3.c:81847: error: 'TK_CONCAT' undeclared (first use in this
 function)
 sqlite3.c:81852: error: 'TK_COMMA' undeclared (first use in this function)
 sqlite3.c:81856: error: 'TK_BITAND' undeclared (first use in this
 function)
 sqlite3.c:81860: error: 'TK_BITNOT' undeclared (first use in this
 function)
 sqlite3.c:81877: error: 'TK_STRING' undeclared (first use in this
 function)
 sqlite3.c:81880: error: 'TK_ID' undeclared (first use in this function)
 sqlite3.c:81892: error: 'TK_DOT' undeclared (first use in this function)
 sqlite3.c:81900: error: 'TK_INTEGER' undeclared (first use in this
 function)
 sqlite3.c:81906: error: 'TK_FLOAT' undeclared (first use in this function)
 sqlite3.c:81926: warning: assignment makes integer from pointer without a
 cast
 sqlite3.c:81930: error: 'TK_VARIABLE' undeclared (first use in this
 function)
 sqlite3.c:81939: error: 'TK_REGISTER' undeclared (first use in this
 function)
 sqlite3.c:81979: error: 'TK_BLOB' undeclared (first use in this function)
 sqlite3.c: In function 'sqlite3RunParser':
 sqlite3.c:82051: error: 'TK_SPACE' undeclared (first use in this function)
 sqlite3.c:82051: warning: case label value exceeds maximum value for type
 sqlite3.c:82059: error: 'TK_ILLEGAL' undeclared (first use in this
 function)
 sqlite3.c:82059: warning: case label value exceeds maximum value for type
 sqlite3.c:82066: error: 'TK_SEMI' undeclared (first use in this function)
 sqlite3.c:82066: warning: case label value exceeds maximum value for type
 sqlite3.c:82082: warning: comparison between pointer and integer
 sqlite3.c:82083: warning: passing argument 2 of 'sqlite3Parser' makes
 integer from pointer without a cast
 gnumake: *** [sqlite3.lo] Error 1

 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 its the Leopard TCL env bug, duplicate of #13953, running

 {{{
 sudo port clean sqlite3
 sudo port install sqlite3
 }}}

 should do the trick

-- 
Ticket URL: <http://trac.macports.org/ticket/17314#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list