[MacPorts] #33833: libiodbc: expected declaration specifiers or '...' before 'u_short'
MacPorts
noreply at macports.org
Tue Apr 10 10:53:51 PDT 2012
#33833: libiodbc: expected declaration specifiers or '...' before 'u_short'
--------------------------------------+-------------------------------------
Reporter: ryandesign@… | Owner: snc@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Resolution: fixed | Keywords:
Port: libiodbc |
--------------------------------------+-------------------------------------
Comment(by nitin0301@…):
Hi,
I've tried installing kate for several time in last few days. I am getting
the following error:
---> Computing dependencies for kate
---> Dependencies to be installed: kdelibs4 soprano libiodbc raptor2
redland rasqal mhash strigi ffmpeg XviD dirac cppunit lame libogg libsdl
libtheora libvorbis libvpx yasm openjpeg jbigkit lcms2 schroedinger orc
speex texi2html x264 virtuoso gawk oxygen-icons
---> Building libiodbc
Error: Target org.macports.build returned: shell command failed (see log
for details)
Error: Failed to install libiodbc
Log for libiodbc is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libiodbc/libiodbc/main.log
Error: The following dependencies were not installed: kdelibs4 soprano
libiodbc raptor2 redland rasqal mhash strigi ffmpeg XviD dirac cppunit
lame libogg libsdl libtheora libvorbis libvpx yasm openjpeg jbigkit lcms2
schroedinger orc speex texi2html x264 virtuoso gawk oxygen-icons
Error: Status 1 encountered during processing.
This indeed shows that the error is in the installation of "libiodbc". I
am sorry but my less than normal understanding of linux system limits my
understanding of the solution reported here. Do i need to
install/uninstall/clean/edit some specific files? If yes, then how shall i
do it? Where can I find this? Or do i need to uninstall something and try
doing the installation of kate again?
Thanks.
Nitin
Replying to [comment:17 ryandesign@…]:
> u_short is declared in <sys/types.h>, which is included by iodbc.h,
which is included by all the other files that use u_short—except for
unicode.h.
>
> After fixing that, the build fails with:
>
> {{{
> make[2]: *** No rule to make target `../iodbcadm/libiodbcadm.la', needed
by `iodbcadm-gtk'. Stop.
> make[2]: *** Waiting for unfinished jobs....
> }}}
>
> Retrying a few more times without cleaning eventually succeeds, which
means this is a parallel build failure; turning off parallel building lets
the build succeed from the beginning.
>
> Fixed both issues in r91539. Verified the build now succeeds on Snow
Leopard x86_64 and Leopard i386.
--
Ticket URL: <https://trac.macports.org/ticket/33833#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list