mfzz1134 发表于 2006-8-10 21:02:43

NetBSD current eva 无法启动

我在NetBSD-Current下自己编译的eva0.4.1

./configure --prefix=/usr/pkg --with-qt-dir=/usr/pkg/qt3 --with-extra-libs=/usr/pkg/lib
--with-extra-includes=/usr/pkg/include&&make && make install
,但安装完运行时却提示没找到图片资源,无法运行

yunfan 发表于 2006-8-10 22:15:04

试试
export KDEDIR=/usr/pkg
eva
--------------
那个prefix应该是kde的安装目录,可能你指向的不对。你参考一下README.zh 文件内存的 configure 的说明再试试。

mfzz1134 发表于 2006-8-11 09:17:11

没用,KDE的路径是/usr/pkg没错,用./configure --prefix=`kde-config --prefix` --with-qt-dir=/usr/pkg/qt3 --with-extra-libs=/usr/pkg/lib
--with-extra-includes=/usr/pkg/include&&make && make install 也不行
./configure --prefix=`kde-config --prefix` --with-qt-dir=/usr/pkg/qt3 --with>
checking build system type... i386-unknown-netbsdelf3.99.23
checking host system type... i386-unknown-netbsdelf3.99.23
checking target system type... i386-unknown-netbsdelf3.99.23
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... 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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fno-common... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -O0... yes
not using lib directory suffix
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flagworks... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
sed: 1: ""s/\*/\\\*/g"": invalid command code "
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... <command line>:1:1: warning: "__GNUC__" redefined
<built-in>: warning: this is the location of the previous definition
<command line>:1:1: warning: "__GNUC_MINOR__" redefined
<built-in>: warning: this is the location of the previous definition
<command line>:1:1: warning: "__GNUC_PATCHLEVEL__" redefined
<built-in>: warning: this is the location of the previous definition
yes
checking dynamic linker characteristics... <command line>:1:1: warning: "__GNUC__" redefined
<built-in>: warning: this is the location of the previous definition
<command line>:1:1: warning: "__GNUC_MINOR__" redefined
<built-in>: warning: this is the location of the previous definition
<command line>:1:1: warning: "__GNUC_PATCHLEVEL__" redefined
<built-in>: warning: this is the location of the previous definition
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... yes
checking if strlcat needs custom prototype... no
checking for strlcpy... yes
checking if strlcpy needs custom prototype... no
checking for main in -lutil... yes
checking for main in -lcompat... yes
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... no
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/pkg/xorg/lib, headers /usr/pkg/xorg/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... added
checking for extra libs... added
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/pkg/bin/perl
checking for Qt... libraries /usr/pkg/qt3/lib, headers /usr/pkg/qt3/include using -mt
checking for moc... /usr/pkg/qt3/bin/moc
checking for uic... /usr/pkg/qt3/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/pkg/lib, headers /usr/pkg/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/pkg/bin/dcopidl
checking for dcopidl2cpp... /usr/pkg/bin/dcopidl2cpp
checking for mcopidl... /usr/pkg/bin/mcopidl
checking for artsc-config... /usr/pkg/bin/artsc-config
checking for kde-config... /usr/pkg/bin/kde-config
checking for meinproc... /usr/pkg/bin/meinproc
checking for xmllint... /usr/pkg/bin/xmllint
checking whether byte ordering is bigendian... no
checking for MAXPATHLEN... 1024
checking for XScreenSaverAllocInfo in -lXss... yes
checking if doc should be compiled... yes
checking if po should be compiled... yes
checking if src should be compiled... yes
configure: creating ./config.status
wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1185.
config.status: creating Makefile
config.status: WARNING:Makefile.in seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: WARNING:doc/Makefile.in seems to ignore the --datarootdir setting
config.status: creating doc/en/Makefile
config.status: WARNING:doc/en/Makefile.in seems to ignore the --datarootdir setting
config.status: creating po/Makefile
config.status: WARNING:po/Makefile.in seems to ignore the --datarootdir setting
config.status: creating po/zh_CN/Makefile
config.status: WARNING:po/zh_CN/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING:src/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/api/Makefile
config.status: WARNING:src/api/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/api/filetrans/Makefile
config.status: WARNING:src/api/filetrans/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/image/Makefile
config.status: WARNING:src/image/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/image/face/Makefile
config.status: WARNING:src/image/face/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/image/smiley/Makefile
config.status: WARNING:src/image/smiley/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/image/theme/Makefile
config.status: WARNING:src/image/theme/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/libeva/Makefile
config.status: WARNING:src/libeva/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/libeva/libcustompic/Makefile
config.status: WARNING:src/libeva/libcustompic/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/libeva/libft/Makefile
config.status: WARNING:src/libeva/libft/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/libeva/libuh/Makefile
config.status: WARNING:src/libeva/libuh/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/sound/Makefile
config.status: WARNING:src/sound/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/ui/Makefile
config.status: WARNING:src/ui/Makefile.in seems to ignore the --datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Good - your configure finished. Start make now

yunfan 发表于 2006-8-11 16:01:20

那我就不知道了, 你可以make完, 直接进 src, ./eva 来运行, 不用make install, 试试看, 不过可能会出现崩溃。。。

mfzz1134 发表于 2006-8-12 11:46:06

把/usr/pkg/share/apps/eva复制到/usr/pkg/share/apps/kde/eva就可以了,但启动后用udp登陆就crash,用tcp就出现网络连接错误
Got server :218.17.209.23
EvaMain::slotSetupEvaClient
EvaUHProfile::loadProfile -- file not exists
QSocketNotifier: Invalid socket specified
QSocketNotifier: Internal error
QSocketNotifier: Invalid socket specified
QSocketNotifier: Internal error
connecting to "218.17.209.23"
password key set!
connecting server failed
Error type: NoError
network exception: 3
network exception -- number:3
EvaConnecter stopped
页: [1]
查看完整版本: NetBSD current eva 无法启动