Kezdőlap › Fórumok › Fedora Core / RedHat /CentOS › Fedora/RedHat kezdõ › Verlihub
- This topic has 5 hozzászólás, 3 résztvevő, and was last updated 20 years, 6 months telt el by
admin.
-
SzerzőBejegyzés
-
2005-01-26-16:57 #1999852
„libgeoip.so.1 fájlt hiányolnak…………”
A függõség a fodításnál is fenn fog állni azt fel kell oldani, miért nem ezt teszed ?? Ráadásul ahogy nézem a buildhoz is rengeteg devel függõség hiányozhat
2005-01-26-17:13 #1999853„libgeoip.so.1 fájlt hiányolnak…………”
A függõség a fodításnál is fenn fog állni azt fel kell oldani, miért nem ezt teszed ?? Ráadásul ahogy nézem a buildhoz is rengeteg devel függõség hiányozhat
[align=right][snapback]114175[/snapback][/align]1. Azt a libgeoip-t nem találom sehol
2. Nagyon keveset értek a linuxoz,ezért is kérdeztem mi a baj2005-01-26-17:17 #1999854A GeoIP nevü dolgot kell feltenni forrásbol vagy csomiból
(megállapitja IP cim alapján az országot)2005-01-26-17:40 #19998551. Azt a libgeoip-t nem találom sehol
2. Nagyon keveset értek a linuxoz,ezért is kérdeztem mi a baj
[align=right][snapback]114179[/snapback][/align]Hali
itt van: http://www.maxmind.com/download/geoip/api/c/2005-01-26-22:15 #1999856Hali
itt van: http://www.maxmind.com/download/geoip/api/c/
[align=right][snapback]114187[/snapback][/align]A geoip fel van téve, a libgeoip.so.1 szerintem külön fájl, mert nem megy fel vele, de mind1, mert beszéltem egy gyerekkel aki fedora-n megcsinálta én is felrakom azt, és akkor csak megtudom csinálni, ha elmond mindent részletesen
(legalábbis remélem)2009-12-04-19:56 #1878188Red Hat 9-em van éppen a gépen és szeretném rá feltenni a verlihubot, próbálkoztam rpm csomagokkal de azok egy libgeoip.so.1 fájlt hiányolnak, próbáltam tar.gz bõl, ahol a ./configure végig is megy, de a make parancsnál 2, a make install parancsnál pedig 1 hibát talál, ezeket szeretném bemásolni a configure-tól kezdve, hátha tudtok segíteni:
[root@redhat verlihub-0.9.8b]# ./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 g++… g++
checking for C++ compiler default output… 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 g++ accepts -g… yes
checking for style of include used by make… GNU
checking dependency style of g++… gcc3
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking for gcc… gcc
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 dependency style of gcc… gcc3
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 for a sed that does not truncate output… /bin/sed
checking whether ln -s works… yes
checking how to recognise dependent libraries… pass_all
checking command to parse /usr/bin/nm -B output… ok
checking how to run the C++ preprocessor… g++ -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 dlfcn.h usability… yes
checking dlfcn.h presence… yes
checking for dlfcn.h… yes
checking for ranlib… ranlib
checking for strip… strip
checking for objdir… .libs
checking for gcc option to produce PIC… -fPIC
checking if gcc PIC flag -fPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… no
checking if we can lock with hard links… yes
checking if gcc supports -fno-rtti -fno-exceptions… yes
checking whether the linker (/usr/bin/ld) supports shared libraries… yes
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking dynamic linker characteristics… GNU/Linux ld.so
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking whether -lc should be explicitly linked in… no
creating libtool
checking for noapos_mysql… ./noapos_mysql
checking for MYSQL CFLAGS… -I/usr/include
checking for MYSQL LIBS… -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
checking for MYSQL VERSION… 3.23.58
checking for MYSQL – any version… yes
adding -I/usr/include to CXXFLAGS
adding -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm to LDFLAGS
checking for noapos_pcre… ./noapos_pcre
checking for PCRE CFLAGS… -I/usr/include/pcre
checking for PCRE LIBS… -L/usr/lib -lpcre
checking for PCRE VERSION… 3.9
checking for PCRE – version >= 3.0.0… yes
adding -I/usr/include/pcre to CXXFLAGS
adding -L/usr/lib -lpcre to LDFLAGS
checking for config_geoip… ./config_geoip
checking for GEOIP CFLAGS… -I/usr/local/include
checking for GEOIP LIBS… -L/usr/local/lib -lGeoIP
checking for GEOIP VERSION…
checking for GEOIP – version >= 0.0.0… yes
adding -I/usr/local/include to CXXFLAGS
adding -L/usr/local/lib -lGeoIP to LDFLAGS
checking for crypt in -lcrypt… yes
checking for MD5 in -lssl… yes
checking for dlopen in -ldl… yes
dlopen is in libdl
checking for dlopen in -lc… yes
dlopen is in libc
checking for GeoIP_new in -lGeoIP… yes
checking for the pthreads library -lpthreads… no
checking whether pthreads work without any flags… no
checking whether pthreads work with -Kthread… no
checking whether pthreads work with -kthread… no
checking for the pthreads library -llthread… no
checking whether pthreads work with -pthread… yes
checking for joinable pthread attribute… PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads… no
checking for cc_r… gcc
PTHREAD_LIBS= PTHREAD_CFLAGS=-pthread
checking whether the compiler implements namespaces… yes
checking whether the std::string has the zero at the good position… yes
checking for dirent.h that defines DIR… yes
checking for library containing opendir… none required
checking for ANSI C header files… (cached) yes
checking arpa/inet.h usability… yes
checking arpa/inet.h presence… yes
checking for arpa/inet.h… yes
checking fcntl.h usability… yes
checking fcntl.h presence… yes
checking for fcntl.h… yes
checking netdb.h usability… yes
checking netdb.h presence… yes
checking for netdb.h… yes
checking netinet/in.h usability… yes
checking netinet/in.h presence… yes
checking for netinet/in.h… yes
checking for stdlib.h… (cached) yes
checking for string.h… (cached) yes
checking sys/socket.h usability… yes
checking sys/socket.h presence… yes
checking for sys/socket.h… yes
checking sys/time.h usability… yes
checking sys/time.h presence… yes
checking for sys/time.h… yes
checking for unistd.h… (cached) yes
checking ostream usability… yes
checking ostream presence… yes
checking for ostream… yes
checking string usability… yes
checking string presence… yes
checking for string… yes
checking errno.h usability… yes
checking errno.h presence… yes
checking for errno.h… yes
checking sys/poll.h usability… yes
checking sys/poll.h presence… yes
checking for sys/poll.h… yes
checking openssl/md5.h usability… yes
checking openssl/md5.h presence… yes
checking for openssl/md5.h… yes
checking for stdbool.h that conforms to C99… no
checking for _Bool… no
checking for an ANSI C-conforming const… yes
checking for inline… inline
checking for size_t… yes
checking whether time.h and sys/time.h may both be included… yes
checking whether closedir returns void… yes
checking sys/select.h usability… yes
checking sys/select.h presence… yes
checking for sys/select.h… yes
checking for sys/socket.h… (cached) yes
checking types of arguments for select… int,fd_set *,struct timeval *
checking return type of signal handlers… void
checking for gethostbyaddr… yes
checking for gettimeofday… yes
checking for inet_ntoa… yes
checking for memchr… yes
checking for memset… yes
checking for select… no
checking for socket… yes
checking for strerror… yes
checking whether to enable maintainer-specific portions of Makefiles… no
checking for bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating docs/Makefile
config.status: creating scripts/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/test/Makefile
config.status: creating plugins/diakritika/Makefile
config.status: creating plugins/plugman/Makefile
config.status: creating verlihub.spec
config.status: creating verlihub_config
config.status: creating scripts/vh_runhub
config.status: creating scripts/vh_getcfg
config.status: creating scripts/vh_getdb
config.status: creating scripts/vh_trigger
config.status: creating scripts/vh_regnick
config.status: creating scripts/vh_install
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Now you’re done with configure. You won’t forget running
make or rather gmake. Will you? If there is any problem
have a look on verlihub’s forum http://verlihub.no-ip.com
or verlihub’s project http://sf.net/projects/verlihub
if you wanna get a fresh version of verlihub, try the CVS
there is no password, press enter
cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/verlihub login
cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/verlihub co verlihub
BUT NOTE CVS is a working version, that means sometime even not
tested and what is worse, not working. Anyway, it may be working 😉
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Ez volt a configure, jöjjön a make:
[root@redhat verlihub-0.9.8b]# make
make all-recursive
make[1]: Entering directory `/root/verlihub-0.9.8b’
Making all in src
make[2]: Entering directory `/root/verlihub-0.9.8b/src’
if /bin/sh ../libtool –mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include -I/usr/include/pcre -I/usr/local/include -MT cban.lo -MD -MP -MF „.deps/cban.Tpo”
-c -o cban.lo `test -f ‘cban.cpp’ || echo ‘./’`cban.cpp;
then mv „.deps/cban.Tpo” „.deps/cban.Plo”;
else rm -f „.deps/cban.Tpo”; exit 1;
fi
rm -f .libs/cban.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -I/usr/include -I/usr/include/pcre -I/usr/local/include -MT cban.lo -MD -MP -MF .deps/cban.Tpo -c cban.cpp -fPIC -DPIC
In file included from cconfmysql.h:24,
from cbanlist.h:13,
from cban.cpp:12:
cmysql.h:18:19: mysql.h: No such file or directory
In file included from cconfmysql.h:24,
from cbanlist.h:13,
from cban.cpp:12:
cmysql.h:44: syntax error before `*’ token
In file included from cconfmysql.h:25,
from cbanlist.h:13,
from cban.cpp:12:
cquery.h:40: parse error before `)’ token
cquery.h:49: syntax error before `*’ token
In file included from cbanlist.h:13,
from cban.cpp:12:
cconfmysql.h:59: parse error before `&’ token
cconfmysql.h:164: ‘MYSQL_ROW’ is used as a type, but is not defined as a type.
cconfmysql.h:166: parse error before `row’
cconfmysql.h:166: missing ‘;’ before right brace
cconfmysql.h:168: semicolon missing after declaration of `
nConfig::cConfMySQL::ufLoad’
cconfmysql.h:169: two or more data types in declaration of `operator()’
cconfmysql.h: In member function `nConfig::cConfMySQL::ufLoad
nConfig::cConfMySQL::operator()(nConfig::cConfigItemBase*)’:
cconfmysql.h:170: `mRow’ undeclared (first use this function)
cconfmysql.h:170: (Each undeclared identifier is reported only once for each
function it appears in.)
cconfmysql.h:170: `i’ undeclared (first use this function)
cconfmysql.h: At global scope:
cconfmysql.h:178: parse error before `public’
cconfmysql.h:186: ISO C++ forbids declaration of `db_iterator’ with no type
cconfmysql.h: In function `int nConfig::db_iterator(nConfig::cConfMySQL*)’:
cconfmysql.h:186: only constructors take base initializers
cconfmysql.h:186: confused by earlier errors, bailing out
make[2]: *** [cban.lo] Error 1
make[2]: Leaving directory `/root/verlihub-0.9.8b/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/verlihub-0.9.8b’
make: *** [all] Error 2 -
SzerzőBejegyzés
- Be kell jelentkezni a hozzászóláshoz.
legutóbbi hsz