お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2010-01-21 12:10:29

yamadatarou
メンバ
登録日: 2007-05-17

configure: error: expat 1.95.8 or later is required.

yamadatarou@yamadatarou-laptop:~/xml2sql-0.5$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for stricmp... no
checking for strnicmp... no
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtoul... yes
checking for mkstemp... yes
checking for deflate in -lz... no
configure: WARNING: disabled zlib support.
checking for XML_StopParser in -lexpat... no
configure: error: expat 1.95.8 or later is required.

expatはsynapticよりインストールしたのですが、またエラーがでました。識者の方々、アドバイスをお願いします><

オフライン

 

#2 2010-01-21 12:33:44

si
メンバ
From: hokkaido kitami, jp
登録日: 2007-01-15

Re: configure: error: expat 1.95.8 or later is required.

yamadatarou による投稿:

checking for XML_StopParser in -lexpat... no
configure: error: expat 1.95.8 or later is required.

expatのバージョンを調べる。

$ dpkg -s expat
Package: expat
Status: install ok installed
Priority: optional
Section: text
Installed-Size: 84
Maintainer: Ubuntu Developers <[email protected]>
Architecture: amd64
Version: 2.0.1-4ubuntu1
Depends: libc6 (>= 2.3.4), libexpat1 (>= 1.95.8)
Description: XML parsing C library - example application
This package contains xmlwf, an example application of expat, the C
library for parsing XML.  The arguments to xmlwf are one or more
files which are each to be checked for XML well-formedness.
Homepage: http://expat.sourceforge.net
Original-Maintainer: Debian XML/SGML Group <[email protected]>

Ubuntu 9.10なら問題なさそうですが、Ubuntuのバージョンは?

オフライン

 

#3 2010-01-21 12:44:52

hmatsue
アドバイザ
登録日: 2009-03-10

Re: configure: error: expat 1.95.8 or later is required.

1.9系と2以降で大きく変わっているのかも知れません。dapperで試してみてはいかがでしょう。

オフライン

 

#4 2010-01-21 13:04:49

si
メンバ
From: hokkaido kitami, jp
登録日: 2007-01-15

Re: configure: error: expat 1.95.8 or later is required.

Ubuntuのパッケージは、
http://packages.ubuntu.com/
で探すと簡単です。

Keyword: にパッケージ名
Distribution: を any
Section:  を any

を指定すると、サポート対象バージョン全てで、パッケージ検索できます。
(ただし、標準リポジトリのみだと思います)

オフライン

 

Board footer

Powered by FluxBB