[問題] CentOS安裝jmgaick問題

看板Linux作者 (嗄嗄烏啦啦)時間11年前 (2014/12/16 20:14), 11年前編輯推噓1(109)
留言10則, 5人參與, 最新討論串1/1
./configure -prefix=/usr/local/jmagick/ --enable-shared--without-perl checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for getconf... /usr/bin/getconf checking whether large file support needs explicit enabling... no checking for X... no configure: error: 'Unable to locate Java directories' echo過java環境變數沒錯 請問還有哪一個地方需要注意的嗎?? -- 推 godtomanne:alt+f4沒有用? 9/10 00:18 → alt:去你媽的       9/10 00:24 噓 F4:你才沒用       9/10 00:25 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.174.16.222 ※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1418732075.A.2B5.html

12/16 20:17, , 1F
JAVA_HOME有設定?
12/16 20:17, 1F

12/16 20:35, , 2F
我猜可能需要 --with-java-home=/usr/lib/jvm/java ?
12/16 20:35, 2F

12/16 20:41, , 3F
有 我設定
12/16 20:41, 3F

12/16 21:22, , 4F
設定路徑後好像就過了@@
12/16 21:22, 4F

12/16 21:22, , 5F
但在make install出了一個問題
12/16 21:22, 5F
/usr/bin/install -c -d /usr/local/jmagick//lib /usr/bin/install -c /opt/jmagick-6.4.0/lib/jmagick-6.4.0.jar /usr/local/jmagick//lib Installing /opt/jmagick-6.4.0 ... make[1]: Entering directory `/opt/jmagick-6.4.0/src' Installing /opt/jmagick-6.4.0/src ... make[2]: Entering directory `/opt/jmagick-6.4.0/src/magick' /usr/bin/install -c -d /usr/local/jmagick//lib /bin/sh /opt/jmagick-6.4.0/libtool --mode=install /usr/bin/install -c /opt/jmagick-6.4.0/lib/libJMagick-6.4.0.so /usr/local/jmagick//lib /usr/bin/install -c /opt/jmagick-6.4.0/lib/libJMagick-6.4.0.so /usr/local/jmagick//lib/libJMagick-6.4.0.so Installing /opt/jmagick-6.4.0/src/magick ... make[3]: Entering directory `/opt/jmagick-6.4.0/src/magick/util' Installing /opt/jmagick-6.4.0/src/magick/util ... make[3]: Leaving directory `/opt/jmagick-6.4.0/src/magick/util' make[2]: Leaving directory `/opt/jmagick-6.4.0/src/magick' make[1]: Leaving directory `/opt/jmagick-6.4.0/src' ※ 編輯: Automaticmai (218.174.16.222), 12/16/2014 21:23:43

12/16 21:50, , 6F
訊息看起來無異狀啊?
12/16 21:50, 6F

12/17 03:34, , 7F
內建不是有這個軟體嗎
12/17 03:34, 7F

12/17 03:34, , 8F
yum 安裝一下就有了
12/17 03:34, 8F

12/17 21:12, , 9F
看走眼,我還以為是 imagemagick
12/17 21:12, 9F

12/17 21:12, , 10F
目前來看上面訊息應該都裝上了
12/17 21:12, 10F
文章代碼(AID): #1Ka28hAr (Linux)
文章代碼(AID): #1Ka28hAr (Linux)