[MacPorts] #19491: Compile error with tclx

MacPorts noreply at macports.org
Thu Apr 30 13:49:05 PDT 2009


#19491: Compile error with tclx
--------------------------------+-------------------------------------------
 Reporter:  spetinga@…          |       Owner:  markd@…           
     Type:  defect              |      Status:  new               
 Priority:  Normal              |   Milestone:                    
Component:  ports               |     Version:  1.7.1             
 Keywords:                      |        Port:  tclx              
--------------------------------+-------------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => markd@…
  * port:  => tclx


Old description:

> I was attempting to download tclx onto leopard 10.5.6 and received the
> following error:
>
> cassini:bin root# port install tclx
> --->  Building tclx
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work/tclx8.4"
> && make all " returned error 2
> Command output: /usr/bin/gcc-4.0 -pipe -DPACKAGE_NAME=\"tclx\"
> -DPACKAGE_TARNAME=\"tclx\" -DPACKAGE_VERSION=\"8.4\"
> -DPACKAGE_STRING=\"tclx\ 8.4\" -DPACKAGE_BUGREPORT=\"\"
> -DFULL_VERSION=\"8.4.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
> -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1
> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
> -DHAVE_SYS_SELECT_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1
> -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
> -DHAVE_TIMEZONE_VAR=1   -I"./generic" -I"./unix"
> -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/generic"
> -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/unix"
> -I/opt/local/include  -O2 -I/opt/local/include -Os -Wall -Wno-implicit-
> int -fno-common -c `echo ./generic/tclXbsearch.c` -o tclXbsearch.o
> In file included from ./generic/tclInt.h:2356,
>                  from ./generic/tclExtdInt.h:26,
>                  from ./generic/tclXbsearch.c:19:
> ./generic/tclIntDecls.h:322: error: syntax error before '->' token
> ./generic/tclIntDecls.h:326: error: syntax error before '->' token
> ./generic/tclIntDecls.h:330: error: syntax error before '->' token
> ./generic/tclIntDecls.h:333: error: syntax error before '->' token
> ./generic/tclIntDecls.h:337: error: syntax error before '->' token
> ./generic/tclIntDecls.h:341: error: syntax error before '->' token
> ./generic/tclIntDecls.h:357: error: syntax error before '->' token
> ./generic/tclIntDecls.h:360: error: syntax error before '->' token
> ./generic/tclIntDecls.h:363: error: syntax error before '->' token
> ./generic/tclIntDecls.h:367: error: syntax error before '->' token
> ./generic/tclIntDecls.h:370: error: syntax error before '->' token
> ./generic/tclIntDecls.h:377: error: syntax error before '->' token
> make: *** [tclXbsearch.o] Error 1
>
> Error: Status 1 encountered during processing.
> cassini:bin root#

New description:

 I was attempting to download tclx onto leopard 10.5.6 and received the
 following error:
 {{{
 cassini:bin root# port install tclx
 --->  Building tclx
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tclx/work/tclx8.4"
 && make all " returned error 2
 Command output: /usr/bin/gcc-4.0 -pipe -DPACKAGE_NAME=\"tclx\"
 -DPACKAGE_TARNAME=\"tclx\" -DPACKAGE_VERSION=\"8.4\"
 -DPACKAGE_STRING=\"tclx\ 8.4\" -DPACKAGE_BUGREPORT=\"\"
 -DFULL_VERSION=\"8.4.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DNO_VALUES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1
 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1
 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DUSE_TCL_STUBS=1
 -DHAVE_SYS_SELECT_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1
 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1
 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1
 -DHAVE_TIMEZONE_VAR=1   -I"./generic" -I"./unix"
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/generic"
 -I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_tcl/work/tcl8.5.6/unix"
 -I/opt/local/include  -O2 -I/opt/local/include -Os -Wall -Wno-implicit-int
 -fno-common -c `echo ./generic/tclXbsearch.c` -o tclXbsearch.o
 In file included from ./generic/tclInt.h:2356,
                  from ./generic/tclExtdInt.h:26,
                  from ./generic/tclXbsearch.c:19:
 ./generic/tclIntDecls.h:322: error: syntax error before '->' token
 ./generic/tclIntDecls.h:326: error: syntax error before '->' token
 ./generic/tclIntDecls.h:330: error: syntax error before '->' token
 ./generic/tclIntDecls.h:333: error: syntax error before '->' token
 ./generic/tclIntDecls.h:337: error: syntax error before '->' token
 ./generic/tclIntDecls.h:341: error: syntax error before '->' token
 ./generic/tclIntDecls.h:357: error: syntax error before '->' token
 ./generic/tclIntDecls.h:360: error: syntax error before '->' token
 ./generic/tclIntDecls.h:363: error: syntax error before '->' token
 ./generic/tclIntDecls.h:367: error: syntax error before '->' token
 ./generic/tclIntDecls.h:370: error: syntax error before '->' token
 ./generic/tclIntDecls.h:377: error: syntax error before '->' token
 make: *** [tclXbsearch.o] Error 1

 Error: Status 1 encountered during processing.
 cassini:bin root#
 }}}

--

Comment:

 Please remember to use WikiFormatting, fill in the Port field, and cc the
 maintainer.

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


More information about the macports-tickets mailing list