お知らせ

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

#1 2008-02-13 18:44:27

avidya
ゲスト

【済】青空文庫用ビューワを探しています

 青空文庫のテキストファイル用ビューワで、青空文庫のルビに対応しているものってないでしょうか。
 ちなみに piro さん作の Firefox 拡張で大きな xhtml ファイルを開くと ( 例えば夢野久作のドグラ・マグラなど )、まるで Firefox が固まったようになるので、できればテキストビューワにこだわりたいのですが。
 それとせっかく Windows を捨てたので、wine も避けたいかな、と考えています。

最後の編集者: avidya (2008-08-26 11:54:36)

 

#2 2008-02-14 15:00:01

fueryuejing
メンバ
From: アジア、南会津町。
登録日: 2007-11-03

Re: 【済】青空文庫用ビューワを探しています

かつては青玉機械さんのNetakoPagerがあったのですが、サイト閉じてしまったのかな?入手不能みたいですね・・・

オフライン

 

#3 2008-02-15 18:43:54

f0705
メンバ
登録日: 2007-05-03

Re: 【済】青空文庫用ビューワを探しています

XJP2 というものがあるようです。
http://xjp-text.sourceforge.jp/
試しにインストールしてみましたがちゃんと表示できました。
ダウンロードしたファイルを展開し、README に従ってインストールします。
REAME は EUC-JP なので nkf コマンドで
nkf -w README > README.utf8
の様に変換して読むと良いと思います。

その後展開したディレクトリの conf 以下のファイル xtext.conf.sample を
ホームディレクトリの .xtext 以下に xtext.conf というファイル名でコピー
します。ただしこのままでは日本語が文字化けしてしまうので
xtext.conf のフォント指定部分を以下の様にコメントアウトして下さい。
#MAIN_FONT_J: -ipa-ipamincho-medium-r-normal--12-*-*-*-c-0-jisx0208.1983-0
#MAIN_FONT_S: -ipa-ipagothic-medium-r-normal--12-*-*-*-c-0-jisx0208.1983-0
#MAIN_FONT_E: -ipa-ipamincho-medium-r-normal--12-*-*-*-c-0-iso8859-1
#RUBI_FONT: -ipa-ipagothic-medium-r-normal--10-*-*-*-c-0-jisx0208.1983-0

(自分でフォントを指定しても良いかもしれませんが、、、)
あとは
xjp -f [ファイル名]
で表示できるはず。

オフライン

 

#4 2008-02-15 20:27:54

avidya
ゲスト

Re: 【済】青空文庫用ビューワを探しています

実は XJP2  Ver.2.8.0 をインストールしようとして一度挫折しています。
configure の段階で、エラーが出ているようで、make install できない状態です。
一発で make できましたか?
ちなみに私のところでは、configure 時に、以下のようなエラーとなります。

$ ./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... configure: error: C compiler cannot create executables
See `config.log' for more details.

額面どおり受け取れば、gcc が実行ファイルを作成できない、ということなのでしょうが、対処方法が分かり兼ねています。

最後の編集者: avidya (2008-02-15 20:33:02)

 

#5 2008-02-15 22:07:27

f0705
メンバ
登録日: 2007-05-03

Re: 【済】青空文庫用ビューワを探しています

configure はすんなり通りました。
(configure、 sudo make install のみでインストールできました)
avidya さんの configure の出力をみると gawk が無いようなので
まずは apt-get で gawk をインストールしてみてはいかがでしょうか。

オフライン

 

#6 2008-02-16 06:31:45

avidya
ゲスト

Re: 【済】青空文庫用ビューワを探しています

gawk をインストールして試してみましたが、だめでした。
コンソール出力は以下のとおりです。

----------------------------------------------------------------------
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
----------------------------------------------------------------------

詳しくは config.log を見ろ、とあるので見たのですがよく分かりませんでした。
config.log も張り付けてみます。

----------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xjp configure 2.8.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = mitsugu-desktop
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Tue Feb 12 07:42:25 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1366: checking for a BSD-compatible install
configure:1421: result: /usr/bin/install -c
configure:1432: checking whether build environment is sane
configure:1475: result: yes
configure:1532: checking for gawk
configure:1548: found /usr/bin/gawk
configure:1558: result: gawk
configure:1568: checking whether make sets $(MAKE)
configure:1588: result: yes
configure:1794: checking for gcc
configure:1810: found /usr/bin/gcc
configure:1820: result: gcc
configure:2064: checking for C compiler version
configure:2067: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2070: $? = 0
configure:2072: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2075: $? = 0
configure:2077: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2080: $? = 1
configure:2103: checking for C compiler default output file name
configure:2106: gcc  -O2 -ffast-math   conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2109: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2148: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run aclocal-1.8'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run tar'
AUTOCONF='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=' -O2 -ffast-math'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run makeinfo'
OBJEXT=''
PACKAGE='xjp'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='xjp'
PACKAGE_STRING='xjp 2.8.0'
PACKAGE_TARNAME='xjp'
PACKAGE_VERSION='2.8.0'
PATH_SEPARATOR=':'
RAST_CONFIG=''
RAST_INCLUDES=''
RAST_LIBS_LD=''
RAST_LIBS_LIBTOOL=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='2.8.0'
XJPRAST=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/mitsugu/Pub/XJP2_2.8.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_NAME "xjp"
#define PACKAGE_STRING "xjp 2.8.0"
#define PACKAGE_TARNAME "xjp"
#define PACKAGE_VERSION "2.8.0"

configure: exit 77
----------------------------------------------------------------------

上記の log で

----------------------------------------------------------------------
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
----------------------------------------------------------------------

とあることから c のソースにバグがあるんじゃないかと推測しているのですが。

 

#7 2008-02-16 08:49:49

f0705
メンバ
登録日: 2007-05-03

Re: 【済】青空文庫用ビューワを探しています

ディレクトリの中に所有者がコンパイルを試みているユーザー名ではない a.out というファイルが
ありませんか?
(sudo -s で root になったあとに touch a.out を実行すると同じエラーを再現できます)
一度ディレクトリ(XJP2_2.8.0)を全部消して最初からやり直してみてください。

--- 以下追記 ---
toshio さん、 hito さんありがとうごさいます。
> /usr/bin/ld: crt1.o: No such file: No such file or directory
見逃していました。

最後の編集者: f0705 (2008-02-16 09:53:32)

オフライン

 

#8 2008-02-16 09:22:52

toshio
メンバ
登録日: 2007-11-14

Re: 【済】青空文庫用ビューワを探しています

横から失礼します。

私には上記のエラーの、

> configure:2103: checking for C compiler default output file name
> configure:2106: gcc  -O2 -ffast-math   conftest.c  >&5
> /usr/bin/ld: crt1.o: No such file: No such file or directory
> collect2: ld returned 1 exit status

このあたりが怪しく見えます。

$ locate crt1.o

でシステムにcrt1.oが入っているか調べてみてください。
自分の環境では/usr/lib/crt1.oとして見つかりました。

もし見つからなかったら
$ sudo apt-get install libc6-dev
実行してからconfigureをやり直してみてください。

オフライン

 

#9 2008-02-16 09:26:32

hito
管理者
登録日: 2007-03-18

Re: 【済】青空文庫用ビューワを探しています

コード:

checking for C compiler default output file name... configure: error: C compiler cannot create executables

えーと、gccを構成するファイルが足りていません。
build-essentialパッケージをインストールしてください。

(libc6-devだけでもいいですが他にも色々足りない予感が)

オフライン

 

#10 2008-02-16 11:43:57

f0705
メンバ
登録日: 2007-05-03

Re: 【済】青空文庫用ビューワを探しています

別なPC (ubutnu 7.10) にもインストールしてみたところ上に書いた方法では
文字化けが直りませんでした。
~/.xtext/xtext.conf
を編集してみたり ipafont をインストールしてみましたがダメ。
それと xtext.conf で XFT_FONT: 1 とすると segmentation fault を起こします。
最初に試した ubuntu 7.10 では何故うまくいったのか分からない。
2台の PC で xlsfonts の出力は同じです。
ちなみに Vine Linux 3.2 でも試しましたが問題ありませんでした。

私にはお手上げかも。

最後の編集者: f0705 (2008-02-16 12:51:39)

オフライン

 

#11 2008-02-16 11:45:50

avidya
ゲスト

Re: 【済】青空文庫用ビューワを探しています

f0705 さん、toshio さん、いろいろアドバイスありがとうございます。
まだ make install を通すことができていません。configureは一見通ったように『見える』ようなのですが、おそらく通ってないように思えます。まだ不足している構築環境があるのかもしれません。

ちなみに『build-essential』と『zlib1g-dev』をインストールしてから configure してみました。configure 時に、所々『no』だとか『command not found』という文字があるのが気になっています。

# 実は XJP2 のインストールを記録しているサイトも見かけたのですが、C のソースを変更したりビルド環境が不明など、ちょっと敷居が高すぎて理解できませんでした。

とりあえずコンソール出力と config.log を張り付けます。

■コンソール出力
------------------------------------------------------------
# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
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 a BSD-compatible install... /usr/bin/install -c
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.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 size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strstr... yes
checking for sin in -lm... yes
checking for iconv... yes
checking for gzopen in -lz... no
configure: error: zlib is required.
root@mitsugu-desktop:~/Pub/XJP2_2.8.0# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
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 a BSD-compatible install... /usr/bin/install -c
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.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 size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for memset... yes
checking for mkdir... yes
checking for setlocale... yes
checking for strstr... yes
checking for sin in -lm... yes
checking for iconv... yes
checking for gzopen in -lz... yes
checking for X... no
checking for XftFontOpen in -lXft... no
./configure: line 8094: xft-config: command not found
./configure: line 8095: xft-config: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: executing depfiles commands
------------------------------------------------------------


■configure.log
------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xjp configure 2.8.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = mitsugu-desktop
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Tue Feb 12 07:42:25 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/X11R6/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1366: checking for a BSD-compatible install
configure:1421: result: /usr/bin/install -c
configure:1432: checking whether build environment is sane
configure:1475: result: yes
configure:1532: checking for gawk
configure:1548: found /usr/bin/gawk
configure:1558: result: gawk
configure:1568: checking whether make sets $(MAKE)
configure:1588: result: yes
configure:1794: checking for gcc
configure:1810: found /usr/bin/gcc
configure:1820: result: gcc
configure:2064: checking for C compiler version
configure:2067: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2070: $? = 0
configure:2072: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2075: $? = 0
configure:2077: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2080: $? = 1
configure:2103: checking for C compiler default output file name
configure:2106: gcc  -O2 -ffast-math   conftest.c  >&5
configure:2109: $? = 0
configure:2155: result: a.out
configure:2160: checking whether the C compiler works
configure:2166: ./a.out
configure:2169: $? = 0
configure:2186: result: yes
configure:2193: checking whether we are cross compiling
configure:2195: result: no
configure:2198: checking for suffix of executables
configure:2200: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:2203: $? = 0
configure:2228: result:
configure:2234: checking for suffix of object files
configure:2255: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:2258: $? = 0
configure:2280: result: o
configure:2284: checking whether we are using the GNU C compiler
configure:2308: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:2314: $? = 0
configure:2318: test -z
             || test ! -s conftest.err
configure:2321: $? = 0
configure:2324: test -s conftest.o
configure:2327: $? = 0
configure:2340: result: yes
configure:2346: checking whether gcc accepts -g
configure:2367: gcc -c -g  conftest.c >&5
configure:2373: $? = 0
configure:2377: test -z
             || test ! -s conftest.err
configure:2380: $? = 0
configure:2383: test -s conftest.o
configure:2386: $? = 0
configure:2397: result: yes
configure:2414: checking for gcc option to accept ANSI C
configure:2484: gcc  -c  -O2 -ffast-math  conftest.c >&5
configure:2490: $? = 0
configure:2494: test -z
             || test ! -s conftest.err
configure:2497: $? = 0
configure:2500: test -s conftest.o
configure:2503: $? = 0
configure:2521: result: none needed
configure:2539: gcc -c  -O2 -ffast-math  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2545: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2689: checking for style of include used by make
configure:2717: result: GNU
configure:2745: checking dependency style of gcc
configure:2835: result: gcc3
configure:2865: checking for a BSD-compatible install
configure:2920: result: /usr/bin/install -c
configure:2944: checking for dirent.h that defines DIR
configure:2968: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:2974: $? = 0
configure:2978: test -z
             || test ! -s conftest.err
configure:2981: $? = 0
configure:2984: test -s conftest.o
configure:2987: $? = 0
configure:2998: result: yes
configure:3011: checking for library containing opendir
configure:3041: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:3047: $? = 0
configure:3051: test -z
             || test ! -s conftest.err
configure:3054: $? = 0
configure:3057: test -s conftest
configure:3060: $? = 0
configure:3130: result: none required
configure:3271: checking how to run the C preprocessor
configure:3306: gcc -E  conftest.c
configure:3312: $? = 0
configure:3344: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3350: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3389: result: gcc -E
configure:3413: gcc -E  conftest.c
configure:3419: $? = 0
configure:3451: gcc -E  conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:3457: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3501: checking for egrep
configure:3511: result: grep -E
configure:3516: checking for ANSI C header files
configure:3541: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3547: $? = 0
configure:3551: test -z
             || test ! -s conftest.err
configure:3554: $? = 0
configure:3557: test -s conftest.o
configure:3560: $? = 0
configure:3649: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:27: warning: incompatible implicit declaration of built-in function 'exit'
configure:3652: $? = 0
configure:3654: ./conftest
configure:3657: $? = 0
configure:3672: result: yes
configure:3697: checking for sys/types.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for sys/stat.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for stdlib.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for string.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for memory.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for strings.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for inttypes.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for stdint.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3697: checking for unistd.h
configure:3713: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3719: $? = 0
configure:3723: test -z
             || test ! -s conftest.err
configure:3726: $? = 0
configure:3729: test -s conftest.o
configure:3732: $? = 0
configure:3743: result: yes
configure:3773: checking locale.h usability
configure:3785: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3791: $? = 0
configure:3795: test -z
             || test ! -s conftest.err
configure:3798: $? = 0
configure:3801: test -s conftest.o
configure:3804: $? = 0
configure:3814: result: yes
configure:3818: checking locale.h presence
configure:3828: gcc -E  conftest.c
configure:3834: $? = 0
configure:3854: result: yes
configure:3889: checking for locale.h
configure:3896: result: yes
configure:3773: checking stddef.h usability
configure:3785: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3791: $? = 0
configure:3795: test -z
             || test ! -s conftest.err
configure:3798: $? = 0
configure:3801: test -s conftest.o
configure:3804: $? = 0
configure:3814: result: yes
configure:3818: checking stddef.h presence
configure:3828: gcc -E  conftest.c
configure:3834: $? = 0
configure:3854: result: yes
configure:3889: checking for stddef.h
configure:3896: result: yes
configure:3764: checking for stdlib.h
configure:3769: result: yes
configure:3764: checking for string.h
configure:3769: result: yes
configure:3764: checking for unistd.h
configure:3769: result: yes
configure:3911: checking for an ANSI C-conforming const
configure:3978: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:3984: $? = 0
configure:3988: test -z
             || test ! -s conftest.err
configure:3991: $? = 0
configure:3994: test -s conftest.o
configure:3997: $? = 0
configure:4008: result: yes
configure:4018: checking for size_t
configure:4042: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:4048: $? = 0
configure:4052: test -z
             || test ! -s conftest.err
configure:4055: $? = 0
configure:4058: test -s conftest.o
configure:4061: $? = 0
configure:4072: result: yes
configure:4084: checking whether time.h and sys/time.h may both be included
configure:4109: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:4115: $? = 0
configure:4119: test -z
             || test ! -s conftest.err
configure:4122: $? = 0
configure:4125: test -s conftest.o
configure:4128: $? = 0
configure:4139: result: yes
configure:4149: checking whether struct tm is in sys/time.h or time.h
configure:4172: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:4178: $? = 0
configure:4182: test -z
             || test ! -s conftest.err
configure:4185: $? = 0
configure:4188: test -s conftest.o
configure:4191: $? = 0
configure:4202: result: time.h
configure:4214: checking whether closedir returns void
configure:4243: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:4246: $? = 0
configure:4248: ./conftest
configure:4251: $? = 0
configure:4265: result: no
configure:4275: checking for pid_t
configure:4299: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:4305: $? = 0
configure:4309: test -z
             || test ! -s conftest.err
configure:4312: $? = 0
configure:4315: test -s conftest.o
configure:4318: $? = 0
configure:4329: result: yes
configure:4347: checking for unistd.h
configure:4352: result: yes
configure:4356: checking vfork.h usability
configure:4368: gcc -c  -O2 -ffast-math  conftest.c >&5
conftest.c:61:19: error: vfork.h: No such file or directory
configure:4374: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <vfork.h>
configure:4397: result: no
configure:4401: checking vfork.h presence
configure:4411: gcc -E  conftest.c
conftest.c:27:19: error: vfork.h: No such file or directory
configure:4417: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <vfork.h>
configure:4437: result: no
configure:4472: checking for vfork.h
configure:4479: result: no
configure:4497: checking for fork
configure:4554: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
conftest.c:51: warning: conflicting types for built-in function 'fork'
configure:4560: $? = 0
configure:4564: test -z
             || test ! -s conftest.err
configure:4567: $? = 0
configure:4570: test -s conftest
configure:4573: $? = 0
configure:4585: result: yes
configure:4497: checking for vfork
configure:4554: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:4560: $? = 0
configure:4564: test -z
             || test ! -s conftest.err
configure:4567: $? = 0
configure:4570: test -s conftest
configure:4573: $? = 0
configure:4585: result: yes
configure:4596: checking for working fork
configure:4619: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
conftest.c: In function 'main':
conftest.c:10: warning: incompatible implicit declaration of built-in function 'exit'
configure:4622: $? = 0
configure:4624: ./conftest
configure:4627: $? = 0
configure:4641: result: yes
configure:4662: checking for working vfork
configure:4795: result: yes
configure:4831: checking for stdlib.h
configure:4836: result: yes
configure:4976: checking for GNU libc compatible malloc
configure:5005: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:5008: $? = 0
configure:5010: ./conftest
configure:5013: $? = 0
configure:5027: result: yes
configure:5062: checking for stdlib.h
configure:5067: result: yes
configure:5207: checking for GNU libc compatible realloc
configure:5236: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:5239: $? = 0
configure:5241: ./conftest
configure:5244: $? = 0
configure:5258: result: yes
configure:5288: checking return type of signal handlers
configure:5319: gcc -c  -O2 -ffast-math  conftest.c >&5
configure:5325: $? = 0
configure:5329: test -z
             || test ! -s conftest.err
configure:5332: $? = 0
configure:5335: test -s conftest.o
configure:5338: $? = 0
configure:5349: result: void
configure:5357: checking whether lstat dereferences a symlink specified with a trailing slash
configure:5388: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:5391: $? = 0
configure:5393: ./conftest
configure:5396: $? = 0
configure:5417: result: yes
configure:5438: checking whether stat accepts an empty string
configure:5463: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:5466: $? = 0
configure:5468: ./conftest
configure:5471: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| #  include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| struct stat sbuf;
|   exit (stat ("", &sbuf) ? 1 : 0);
|   ;
|   return 0;
| }
configure:5485: result: no
configure:5507: checking for strftime
configure:5564: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
conftest.c:61: warning: conflicting types for built-in function 'strftime'
configure:5570: $? = 0
configure:5574: test -z
             || test ! -s conftest.err
configure:5577: $? = 0
configure:5580: test -s conftest
configure:5583: $? = 0
configure:5595: result: yes
configure:5686: checking for memset
configure:5743: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
conftest.c:62: warning: conflicting types for built-in function 'memset'
configure:5749: $? = 0
configure:5753: test -z
             || test ! -s conftest.err
configure:5756: $? = 0
configure:5759: test -s conftest
configure:5762: $? = 0
configure:5774: result: yes
configure:5686: checking for mkdir
configure:5743: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:5749: $? = 0
configure:5753: test -z
             || test ! -s conftest.err
configure:5756: $? = 0
configure:5759: test -s conftest
configure:5762: $? = 0
configure:5774: result: yes
configure:5686: checking for setlocale
configure:5743: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
configure:5749: $? = 0
configure:5753: test -z
             || test ! -s conftest.err
configure:5756: $? = 0
configure:5759: test -s conftest
configure:5762: $? = 0
configure:5774: result: yes
configure:5686: checking for strstr
configure:5743: gcc -o conftest  -O2 -ffast-math   conftest.c  >&5
conftest.c:65: warning: conflicting types for built-in function 'strstr'
configure:5749: $? = 0
configure:5753: test -z
             || test ! -s conftest.err
configure:5756: $? = 0
configure:5759: test -s conftest
configure:5762: $? = 0
configure:5774: result: yes
configure:5786: checking for sin in -lm
configure:5816: gcc -o conftest  -O2 -ffast-math   conftest.c -lm   >&5
conftest.c:49: warning: conflicting types for built-in function 'sin'
configure:5822: $? = 0
configure:5826: test -z
             || test ! -s conftest.err
configure:5829: $? = 0
configure:5832: test -s conftest
configure:5835: $? = 0
configure:5848: result: yes
configure:5860: checking for iconv
configure:5917: gcc -o conftest  -O2 -ffast-math   conftest.c -lm  >&5
configure:5923: $? = 0
configure:5927: test -z
             || test ! -s conftest.err
configure:5930: $? = 0
configure:5933: test -s conftest
configure:5936: $? = 0
configure:5948: result: yes
configure:5959: checking for gzopen in -lz
configure:5989: gcc -o conftest  -O2 -ffast-math   conftest.c -lz  -lm  >&5
configure:5995: $? = 0
configure:5999: test -z
             || test ! -s conftest.err
configure:6002: $? = 0
configure:6005: test -s conftest
configure:6008: $? = 0
configure:6021: result: yes
configure:6624: checking for X
configure:6729: gcc -E  conftest.c
conftest.c:44:27: error: X11/Intrinsic.h: No such file or directory
configure:6735: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STRSTR 1
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| /* end confdefs.h.  */
| #include <X11/Intrinsic.h>
configure:6785: gcc -o conftest  -O2 -ffast-math   conftest.c -lXt -lz -lm  >&5
conftest.c:44:27: error: X11/Intrinsic.h: No such file or directory
configure:6791: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STRSTR 1
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| /* end confdefs.h.  */
| #include <X11/Intrinsic.h>
| int
| main ()
| {
| XtMalloc (0)
|   ;
|   return 0;
| }
configure:6844: result: no
configure:8015: checking for XftFontOpen in -lXft
configure:8045: gcc -o conftest  -O2 -ffast-math   conftest.c -lXft  -lX11 -lXext -lz -lm  >&5
/usr/bin/ld: cannot find -lXft
collect2: ld returned 1 exit status
configure:8051: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "xjp"
| #define PACKAGE_TARNAME "xjp"
| #define PACKAGE_VERSION "2.8.0"
| #define PACKAGE_STRING "xjp 2.8.0"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define HAVE_DIRENT_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_UNISTD_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FORK 1
| #define HAVE_VFORK 1
| #define HAVE_WORKING_VFORK 1
| #define HAVE_WORKING_FORK 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 1
| #define RETSIGTYPE void
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_MEMSET 1
| #define HAVE_MKDIR 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STRSTR 1
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| #define X_DISPLAY_MISSING 1
| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char XftFontOpen ();
| int
| main ()
| {
| XftFontOpen ();
|   ;
|   return 0;
| }
configure:8077: result: no
configure:8253: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by xjp config.status 2.8.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on mitsugu-desktop

config.status:689: creating Makefile
config.status:689: creating src/Makefile
config.status:872: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func_closedir_void=no
ac_cv_func_fork=yes
ac_cv_func_fork_works=yes
ac_cv_func_iconv=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memset=yes
ac_cv_func_mkdir=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_setlocale=yes
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_strftime=yes
ac_cv_func_strstr=yes
ac_cv_func_vfork=yes
ac_cv_func_vfork_works=yes
ac_cv_have_x=have_x=no
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stddef_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_vfork_h=no
ac_cv_lib_Xft_XftFontOpen=yes
ac_cv_lib_m_sin=yes
ac_cv_lib_z_gzopen=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_search_opendir='none required'
ac_cv_struct_tm=time.h
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run aclocal-1.8'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run tar'
AUTOCONF='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run autoconf'
AUTOHEADER='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run autoheader'
AUTOMAKE='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS=' -O2 -ffast-math '
CPP='gcc -E'
CPPFLAGS=' '
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"xjp\" -DPACKAGE_TARNAME=\"xjp\" -DPACKAGE_VERSION=\"2.8.0\" -DPACKAGE_STRING=\"xjp\ 2.8.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DHAVE_DIRENT_H=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_LOCALE_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DRETSIGTYPE=void -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_SETLOCALE=1 -DHAVE_STRSTR=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DX_DISPLAY_MISSING=1 '
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=' '
LIBOBJS=''
LIBS='-lz -lm    -lX11 -lXext -lXft '
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/mitsugu/Pub/XJP2_2.8.0/missing --run makeinfo'
OBJEXT='o'
PACKAGE='xjp'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='xjp'
PACKAGE_STRING='xjp 2.8.0'
PACKAGE_TARNAME='xjp'
PACKAGE_VERSION='2.8.0'
PATH_SEPARATOR=':'
RAST_CONFIG=''
RAST_INCLUDES=''
RAST_LIBS_LD=''
RAST_LIBS_LIBTOOL=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='2.8.0'
XJPRAST=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=' -lX11 -lXext -lXft'
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/mitsugu/Pub/XJP2_2.8.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_DIRENT_H 1
#define HAVE_FORK 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBM 1
#define HAVE_LIBZ 1
#define HAVE_LOCALE_H 1
#define HAVE_MALLOC 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_MKDIR 1
#define HAVE_REALLOC 1
#define HAVE_SETLOCALE 1
#define HAVE_STDDEF_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRFTIME 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSTR 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VFORK 1
#define HAVE_WORKING_FORK 1
#define HAVE_WORKING_VFORK 1
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_NAME "xjp"
#define PACKAGE_STRING "xjp 2.8.0"
#define PACKAGE_TARNAME "xjp"
#define PACKAGE_VERSION "2.8.0"
#define RETSIGTYPE void
#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
#define X_DISPLAY_MISSING 1

configure: exit 0
------------------------------------------------------------

 

#12 2008-02-16 11:46:19

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

Re: 【済】青空文庫用ビューワを探しています

configure&&make するには、Xアプリなので、libXaw7-dev, libXft-dev も必要みたい。

オフライン

 

#13 2008-02-16 11:51:30

avidya
ゲスト

Re: 【済】青空文庫用ビューワを探しています

make install 時のコンソール出力も張り付けて置きます。なんだかいきなりヘッダファイルが無いと怒られているようです。

# それと無事インストールできたら、後ほどまとめをしたいと思います。

--------------------------------------------------------------------------------------
# make install
Making install in src
make[1]: ディレクトリ `/home/mitsugu/Pub/XJP2_2.8.0/src' に入ります
if gcc -DPACKAGE_NAME=\"xjp\" -DPACKAGE_TARNAME=\"xjp\" -DPACKAGE_VERSION=\"2.8.0\" -DPACKAGE_STRING=\"xjp\ 2.8.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DHAVE_DIRENT_H=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_LOCALE_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DRETSIGTYPE=void -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1 -DHAVE_STRFTIME=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_SETLOCALE=1 -DHAVE_STRSTR=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -DX_DISPLAY_MISSING=1  -I. -I.     -O2 -ffast-math  -MT xtext_main.o -MD -MP -MF ".deps/xtext_main.Tpo" -c -o xtext_main.o xtext_main.c; \
        then mv -f ".deps/xtext_main.Tpo" ".deps/xtext_main.Po"; else rm -f ".deps/xtext_main.Tpo"; exit 1; fi
xtext_main.c:8 から include されたファイル中:
xtext.h:3:27: error: X11/Intrinsic.h: No such file or directory
xtext.h:4:24: error: X11/keysym.h: No such file or directory
In file included from xtext_main.c:8:
xtext.h:70: error: expected specifier-qualifier-list before ‘Window’
xtext.h:97: error: expected specifier-qualifier-list before ‘Window’
xtext.h:114: error: expected specifier-qualifier-list before ‘XImage’
xtext.h:177: error: expected ‘)’ before ‘*’ token
xtext.h:178: error: expected ‘)’ before ‘*’ token
xtext.h:179: error: expected ‘)’ before ‘*’ token
xtext.h:180: error: expected ‘)’ before ‘*’ token
xtext.h:181: error: expected ‘)’ before ‘*’ token
xtext.h:182: error: expected ‘)’ before ‘*’ token
xtext.h:183: error: expected ‘)’ before ‘*’ token
xtext.h:184: error: expected ‘)’ before ‘*’ token
xtext.h:192: error: expected ‘)’ before ‘*’ token
xtext.h:193: error: expected ‘)’ before ‘*’ token
xtext.h:194: error: expected ‘)’ before ‘*’ token
xtext.h:195: error: expected ‘)’ before ‘*’ token
xtext.h:207: error: expected ‘)’ before ‘*’ token
xtext.h:208: error: expected ‘)’ before ‘*’ token
xtext.h:215: error: expected ‘)’ before ‘*’ token
xtext_main.c:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
xtext_main.c:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘root’
xtext_main.c: In function ‘_x_init’:
xtext_main.c:76: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:76: error: (Each undeclared identifier is reported only once
xtext_main.c:76: error: for each function it appears in.)
xtext_main.c:88: error: ‘root’ undeclared (first use in this function)
xtext_main.c:89: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:90: error: ‘my_window_t’ has no member named ‘visual’
xtext_main.c:91: error: ‘my_window_t’ has no member named ‘gc’
xtext_main.c:92: error: ‘my_window_t’ has no member named ‘bgc’
xtext_main.c:93: error: ‘my_window_t’ has no member named ‘fgc’
xtext_main.c:94: error: ‘my_window_t’ has no member named ‘rfgc’
xtext_main.c:95: error: ‘my_window_t’ has no member named ‘find_gc’
xtext_main.c:96: error: ‘my_window_t’ has no member named ‘rubi_gc’
xtext_main.c:97: error: ‘my_window_t’ has no member named ‘sgc’
xtext_main.c:98: error: ‘my_window_t’ has no member named ‘image’
xtext_main.c:99: error: ‘my_window_t’ has no member named ‘sgc’
xtext_main.c:99: error: ‘LineSolid’ undeclared (first use in this function)
xtext_main.c:99: error: ‘CapButt’ undeclared (first use in this function)
xtext_main.c:99: error: ‘JoinMiter’ undeclared (first use in this function)
xtext_main.c: In function ‘_set_title’:
xtext_main.c:104: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:104: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c:111: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:111: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:114: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c: In function ‘_set_win’:
xtext_main.c:118: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:118: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:118: error: ‘my_window_t’ has no member named ‘bg_pixel’
xtext_main.c:120: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c:120: error: ‘my_window_t’ has no member named ‘menu_bg_pixel’
xtext_main.c:121: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:123: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c: In function ‘_x_end’:
xtext_main.c:132: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:132: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:132: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c: In function ‘_x_drawable’:
xtext_main.c:138: error: ‘XSetWindowAttributes’ undeclared (first use in this function)
xtext_main.c:138: error: expected ‘;’ before ‘att’
xtext_main.c:139: error: ‘Atom’ undeclared (first use in this function)
xtext_main.c:139: error: expected ‘;’ before ‘a1’
xtext_main.c:143: error: ‘my_window_t’ has no member named ‘width’
xtext_main.c:144: error: ‘my_window_t’ has no member named ‘height’
xtext_main.c:145: error: ‘my_window_t’ has no member named ‘width’
xtext_main.c:146: error: ‘my_window_t’ has no member named ‘height’
xtext_main.c:148: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:148: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:148: error: ‘root’ undeclared (first use in this function)
xtext_main.c:149: error: ‘a1’ undeclared (first use in this function)
xtext_main.c:149: error: ‘False’ undeclared (first use in this function)
xtext_main.c:150: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:150: error: ‘ExposureMask’ undeclared (first use in this function)
xtext_main.c:150: error: ‘StructureNotifyMask’ undeclared (first use in this function)
xtext_main.c:150: error: ‘ButtonPressMask’ undeclared (first use in this function)
xtext_main.c:150: error: ‘KeyPressMask’ undeclared (first use in this function)
xtext_main.c:151: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:153: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c:154: error: ‘a2’ undeclared (first use in this function)
xtext_main.c:155: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c:156: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:169: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:170: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c: In function ‘_set_col’:
xtext_main.c:178: error: ‘XColor’ undeclared (first use in this function)
xtext_main.c:178: error: expected ‘;’ before ‘c1’
xtext_main.c:180: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:180: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:180: error: ‘c1’ undeclared (first use in this function)
xtext_main.c:180: error: ‘c0’ undeclared (first use in this function)
xtext_main.c:181: error: ‘my_window_t’ has no member named ‘gc’
xtext_main.c:182: error: ‘my_window_t’ has no member named ‘bgc’
xtext_main.c:183: error: ‘my_window_t’ has no member named ‘fg_pixel’
xtext_main.c:185: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:186: error: ‘my_window_t’ has no member named ‘bgc’
xtext_main.c:187: error: ‘my_window_t’ has no member named ‘gc’
xtext_main.c:188: error: ‘my_window_t’ has no member named ‘bg_pixel’
xtext_main.c:190: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:191: error: ‘my_window_t’ has no member named ‘fgc’
xtext_main.c:192: error: ‘my_window_t’ has no member named ‘rfgc’
xtext_main.c:193: error: ‘my_window_t’ has no member named ‘menu_fg_pixel’
xtext_main.c:195: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:196: error: ‘my_window_t’ has no member named ‘rfgc’
xtext_main.c:197: error: ‘my_window_t’ has no member named ‘fgc’
xtext_main.c:198: error: ‘my_window_t’ has no member named ‘menu_bg_pixel’
xtext_main.c:200: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:201: error: ‘my_window_t’ has no member named ‘rubi_gc’
xtext_main.c:202: error: ‘my_window_t’ has no member named ‘rubi_fg_pixel’
xtext_main.c:204: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:205: error: ‘my_window_t’ has no member named ‘rubi_bg_pixel’
xtext_main.c:207: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:208: error: ‘my_window_t’ has no member named ‘sgc’
xtext_main.c:210: error: ‘my_window_t’ has no member named ‘cmap’
xtext_main.c:211: error: ‘my_window_t’ has no member named ‘find_gc’
xtext_main.c: In function ‘_set_fnt’:
xtext_main.c:248: error: ‘my_window_t’ has no member named ‘fs’
xtext_main.c:248: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:253: error: ‘my_window_t’ has no member named ‘fs_e’
xtext_main.c:259: error: ‘my_window_t’ has no member named ‘fs_s’
xtext_main.c:265: error: ‘my_window_t’ has no member named ‘rubi_fs’
xtext_main.c:295: error: ‘my_window_t’ has no member named ‘change_font’
xtext_main.c: In function ‘_set_utl’:
xtext_main.c:300: error: ‘my_window_t’ has no member named ‘title_on’
xtext_main.c:301: error: ‘my_window_t’ has no member named ‘anti’
xtext_main.c:302: error: ‘my_window_t’ has no member named ‘kinsc’
xtext_main.c:303: error: ‘my_window_t’ has no member named ‘page_on’
xtext_main.c:304: error: ‘my_window_t’ has no member named ‘cursor’
xtext_main.c: In function ‘_quit_win’:
xtext_main.c:347: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: トップレベル:
xtext_main.c:353: error: expected ‘)’ before ‘ev’
xtext_main.c: In function ‘_expose_win’:
xtext_main.c:405: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: トップレベル:
xtext_main.c:409: error: expected ‘)’ before ‘ev’
xtext_main.c: In function ‘_siori_win’:
xtext_main.c:421: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_bookmark_win’:
xtext_main.c:433: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_next_win’:
xtext_main.c:485: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_prev_win’:
xtext_main.c:494: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_next_find_win’:
xtext_main.c:509: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_prev_find_win’:
xtext_main.c:523: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_title_key_win’:
xtext_main.c:530: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_page_key_win’:
xtext_main.c:537: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_kinsc_win’:
xtext_main.c:544: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘_chuki_win’:
xtext_main.c:558: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:558: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c:561: error: ‘my_window_t’ has no member named ‘mwin’
xtext_main.c: In function ‘_find_win’:
xtext_main.c:567: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:567: 警告: passing argument 3 of ‘xtextCheckFindData’ makes pointer from integer without a cast
xtext_main.c: トップレベル:
xtext_main.c:580: error: expected ‘)’ before ‘ev’
xtext_main.c:591: error: expected ‘)’ before ‘ev’
xtext_main.c: In function ‘help_book_data’:
xtext_main.c:614: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:614: 警告: assignment makes pointer from integer without a cast
xtext_main.c: In function ‘_conf_win’:
xtext_main.c:621: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘config_win’:
xtext_main.c:628: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: In function ‘menu_win’:
xtext_main.c:638: error: ‘disp’ undeclared (first use in this function)
xtext_main.c: トップレベル:
xtext_main.c:647: error: expected ‘)’ before ‘ev’
xtext_main.c: In function ‘main’:
xtext_main.c:839: error: ‘XEvent’ undeclared (first use in this function)
xtext_main.c:839: error: expected ‘;’ before ‘ev’
xtext_main.c:852: error: ‘disp’ undeclared (first use in this function)
xtext_main.c:856: error: ‘ev’ undeclared (first use in this function)
xtext_main.c:857: error: ‘my_window_t’ has no member named ‘win’
xtext_main.c:863: error: ‘my_window_t’ has no member named ‘mwin’
make[1]: *** [xtext_main.o] エラー 1
make[1]: ディレクトリ `/home/mitsugu/Pub/XJP2_2.8.0/src' から出ます
make: *** [install-recursive] エラー 1
--------------------------------------------------------------------------------------

 

#14 2008-02-16 13:34:42

toshio
メンバ
登録日: 2007-11-14

Re: 【済】青空文庫用ビューワを探しています

siさんもおっしゃっているようにX関係の開発パッケージがいくつか必要なようです。

一応、私の環境ではmakeは成功しましたので、私の環境に入っているX関連ライブラリパッケージを貼り付けて置きます。

$ aptitude search '~n^libx.+dev$' | grep ^i
i A libx11-dev                      - X11 client-side library (development heade
i A libxau-dev                      - X11 authorisation library (development hea
i A libxcomposite-dev               - X11 Composite extension library (developme
i A libxcursor-dev                  - X cursor management library (development f
i A libxdamage-dev                  - X11 damaged region extension library (deve
i A libxdmcp-dev                    - X11 authorisation library (development hea
i A libxext-dev                     - X11 miscellaneous extensions library (deve
i A libxfixes-dev                   - X11 miscellaneous 'fixes' extension librar
i A libxft-dev                      - FreeType-based font drawing library for X
i A libxi-dev                       - X11 Input extension library (development h
i A libxinerama-dev                 - X11 Xinerama extension library (developmen
i A libxrandr-dev                   - X11 RandR extension library (development h
i A libxrender-dev                  - X Rendering Extension client library (deve
i   libxt-dev                       - X11 toolkit intrinsics library (developmen

libxt-devはXJPをmakeするために新しく導入したパッケージです。
(/usr/include/X11/Intrinsic.hが含まれているようです)
それ以外は別件で自動インストールされたものです。

どれが本当に必要なものなのか私には判別しかねますが・・・、ご参考までに。

オフライン

 

#15 2008-02-16 13:37:30

avidya
ゲスト

Re: 【済】青空文庫用ビューワを探しています

 XJP2 2.8.0 のインストールに成功しましたので、ご報告します。

 まずは  fueryuejing さん、f0705 さん、toshio さん、hito さん、si さんの情報提供、調査協力に心から感謝いたします。ありがとうございました。

 以下に今回のケースでの XJP2 2.8.0 のインストールについてまとめます。MS-Windows から乗り換える方にお役に立てば幸いです ( 私も乗り換え組なので )。


【インストール前の条件】
 Ubuntu 7.10 日本語ローカライズ版をインストールし、その他必要なアプリケーションを随時、Synaptic パッケージマネージャ、日本語セットアップヘルパでインストールしています。また Adobe Reader 8.1.2 へのアップデートを deb パッケージにより行っています。


【インストール手順】
1.XJP2 Ver.2.8.0 をダウンロードします。
 http://xjp-text.sourceforge.jp/

2.Synaptic パッケージマネージャを使って以下の環境をインストールします。依存パッケージも自動でインストールされます。
 ・build-essential
 ・zlib1g-dev
 ・libXaw7-dev
 ・libXft-dev

3.XJP2_2.8.0 を解凍します。

4.XJP2_2.8.0 ディレクトリに移動します。

5.sudo -s で root になります。

6../configure を実行します。

7.make install を実行します。

8.展開したディレクトリの conf 以下のファイル xtext.conf.sample をホームディレクトリの .xtext 以下に xtext.conf というファイル名でコピーします。

9.xtext.conf のフォント指定部分を以下の様にコメントアウトします。
 #MAIN_FONT_J: -ipa-ipamincho-medium-r-normal--12-*-*-*-c-0-jisx0208.1983-0
 #MAIN_FONT_S: -ipa-ipagothic-medium-r-normal--12-*-*-*-c-0-jisx0208.1983-0
 #MAIN_FONT_E: -ipa-ipamincho-medium-r-normal--12-*-*-*-c-0-iso8859-1
 #RUBI_FONT: -ipa-ipagothic-medium-r-normal--10-*-*-*-c-0-jisx0208.1983-0

10.『xjp -f 青空文庫テキストファイルのフルパス名』で起動

最後の編集者: avidya (2008-02-16 13:40:09)

 

#16 2008-02-24 13:53:37

Ryusaku
メンバ
登録日: 2007-05-07

Re: 【済】青空文庫用ビューワを探しています

自分も縦書きでみたいなぁ、と思っていたのですが、こんなのがありました。

Aozora Viewer

フォントを変更したら日本語が表示されました。

オフライン

 

#17 2008-02-24 14:38:21

avidya
ゲスト

Re: 【済】青空文庫用ビューワを探しています

 Aozora Viewer は実は自分も試しました。

 Java の ランタイム環境で動作するので OS を問わないことから、非常に魅力的だったのですが、ルビのレンダリングが書籍のようにされないのが今ひとつということで、結局他のソフトを探しました。

 

#18 2008-06-11 01:12:31

wubuntu
メンバ
登録日: 2008-05-24

Re: 【済】青空文庫用ビューワを探しています

windows用には縦書きビューワが沢山あるのでwineで使えるかいくつか試してみました。
ArisuViewer, smoopy, 扉は全部ダメです。扉はwinで使っていたのに残念。全部縦書きにしてくれないという致命的な欠陥があります。扉はデフォルトのフォントでは縦書きで見せてくれますが、変更するとダメです。デフォルトのフォントは小さすぎです。
Virtual Book は使えます。実はこれはwinを使っていたころ、ページめくりのアニメーションが気に入らず、結局使わずに終わったソフトです。今回、wineで使ってみると悪くありません。ページをめくる間の時間って読書にとって本質的なものなのかも、とちょっと考えさせられました。これを使っていこうと思います。
しかし、それ以上にwineには驚きです。ここまで使い物になるとは思っていませんでした。
このスレッドで話題になっていたソフトは週末にでも試してみます。コンパイルなんて生まれて初めての経験です。

オフライン

 

#19 2011-02-07 19:57:07

MrMasa
新しいメンバ
登録日: 2009-09-21

Re: 【済】青空文庫用ビューワを探しています

最近の青空文庫ビューワーとしては、Air草子というのを見つけました。
http://www.memememo.com/u/sato/f1892/

AdobeAirをインストールすることで、Ubuntu10.10でフリーで快適に読めます。
さらに、500円でもっと高機能な使い方もできるようです。
青空文庫は遅ればせながらすごいシステムだなと感じているところです。
せっかく著作権がフリーで公開されているのに有料のビューワーはちょっと..と思っていましたのでおすすめです。

オフライン

 

Board footer

Powered by FluxBB