libidl build failure

Andreas Wuest awuest at gmail.com
Thu Apr 19 12:22:19 PDT 2007


Hi Stefan

On 3/24/07, Stefan Bruda <bruda at cs.ubishops.ca> wrote:

> Hi,
>
> During the normal upgrade I get the following failure for libidl.  Any
> idea how to fix it?  Thanks in advance.

Do you have port libidl1 installed? This port seems to conflict with libidl.

Simply 'sudo port deactivate libidl1', then upgrade libidl. I had the
same problem, and this did the trick.

> < godel:~ > port -v upgrade libidl
> --->  Fetching libidl
> --->  Verifying checksum(s) for libidl
> --->  Checksumming libIDL-0.8.8.tar.bz2
> --->  Extracting libidl
> --->  Extracting libIDL-0.8.8.tar.bz2
> --->  Configuring libidl
>
> < normal configuration output deleted>
>
>
> libIDL 0.8.8 configuration complete
>
>   C Preprocessor: "gcc -E"
>   Standard input supported.
>
> --->  Building libidl with target all
> bison -y -d -v 2>/dev/null ./parser.y
> touch stamp-parser
> test -f y.tab.h && mv -f y.tab.h parser.h || touch parser.h
> flex -8 -t ./lexer.l | sed -e 's/yy/__IDL_/g' >lexer.c
> test -f y.tab.c && mv -f y.tab.c parser.c || touch parser.c
> make  all-recursive
> Making all in include
> Making all in libIDL
> make  all-am
> make[4]: Nothing to be done for `all-am'.
> make[3]: Nothing to be done for `all-am'.
> test -f y.tab.c && mv -f y.tab.c parser.c || touch parser.c
> if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.8\" -DPACKAGE_STRING=\"libIDL\ 0.8.8\" -DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi\?product=libIDL\" -DLIBIDL_VERSION=\"0.8.8\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" -DCPP_PROGRAM=\"gcc\ -E\" -DYYTEXT_POINTER=1 -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 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations    -no-cpp-precomp -MT parser.lo -MD -MP -MF ".deps/parser.Tpo" \
>   -c -o parser.lo `test -f 'parser.c' || echo './'`parser.c; \
> then mv -f ".deps/parser.Tpo" ".deps/parser.Plo"; \
> else rm -f ".deps/parser.Tpo"; exit 1; \
> fi
> mkdir .libs
>  gcc -DPACKAGE_NAME=\"libIDL\" -DPACKAGE_TARNAME=\"libIDL\" -DPACKAGE_VERSION=\"0.8.8\" "-DPACKAGE_STRING=\"libIDL 0.8.8\"" "-DPACKAGE_BUGREPORT=\"http://bugzilla.gnome.org/enter_bug.cgi?product=libIDL\"" -DLIBIDL_VERSION=\"0.8.8\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"-I-\" "-DCPP_PROGRAM=\"gcc -E\"" -DYYTEXT_POINTER=1 -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 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_POPEN=1 -DHAVE_SYMLINK=1 -DHAVE_ACCESS=1 -DSIZEOF_LONG_LONG=8 -I. -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I./include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -no-cpp-precomp -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.c  -fno-common -DPIC -o .libs/p
>  arser.o
> In file included from util.h:36,
>                  from ./parser.y:33:
> /opt/local/include/libIDL/IDL.h:43:1: warning: "LIBIDL_VERSION" redefined
> <command line>:1:1: warning: this is the location of the previous definition
> ./parser.y: In function '__IDL_parse':
> ./parser.y:396: error: 'IDLF_DECLSPEC_PIDL' undeclared (first use in this function)
> ./parser.y:396: error: (Each undeclared identifier is reported only once
> ./parser.y:396: error: for each function it appears in.)
> ./parser.y: In function 'IDL_parse_declspec':
> ./parser.y:1731: error: 'IDLF_DECLSPEC_PIDL' undeclared (first use in this function)
> ./parser.y: At top level:
> ./parser.y:1739: error: conflicting types for 'IDL_file_set'
> /opt/local/include/libIDL/IDL.h:735: error: previous declaration of 'IDL_file_set' was here
> ./parser.y: In function 'IDL_file_set':
> ./parser.y:1772: error: 'IDLF_SRCFILES' undeclared (first use in this function)
> ./parser.y:1775: warning: implicit declaration of function 'IDL_srcfile_new'
> ./parser.y:1775: warning: assignment makes pointer from integer without a cast
> make[2]: *** [parser.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_libidl/work/libIDL-0.8.8" && make all" returned error 2
>
> ... and then the build process continues stumbling once more upon the
> same issue.
>
> --
> If it was so, it might be; and if it were so, it would be; but as
> it isn't, it ain't.  That's logic.
>     --Lewis Carroll, Through the Looking-Glass
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
>


-- 
Liebi Grüessli,
Andi



More information about the macports-users mailing list