• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Debian kompilacja

eldera

Well-Known Member
Joined
Oct 27, 2012
Messages
165
Solutions
1
Reaction score
52
Siemka. Mam problem przy kompilacji TFSa na Debianie.
Code:
root@junior:/home/junior/0.3.6.r101# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.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 stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for ptrdiff_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for floor... yes
checking for ftime... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtol... yes
checking for xml2-config... no
checking for libxml - version >= 2.6.5... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
configure: error: you need libxml2 >= 2.6.5 to compile theforgottenserver!
root@junior:/home/junior/0.3.6.r101#
Proszę o czyjąś pomoc gdyż męczę się z tym 3 dzień.
R++
 
Wiesz co? Kurna zauważyłem tylko za cholerę nie mogę ich wgrać bo za bardzo nie wiem jak. Tzn, próbowałem ale i tak mi to samo wyskakiwało. :)
 
Ręcznie dodając je przez WinSCP do /usr/bin/ lub usr/bin/include/ i jeszcze
HTML:
apt-get install libxml2-dev libgmp3-dev
, ale wtedy mi pisało że mam je zainstalowane w nowszej wersji..
 
Code:
root@junior:~# whereis xml2-config
xml2-config: /usr/bin/xml2-config.1 /usr/bin/xml2-config.in /usr/bin/xml2-config /usr/share/man/man1/xml2-config.1.gz
 
Jak to obczaić?
btw gz 1.500 postów xD
 
Tyle że ja tutaj nie mam żadnego libxml.
 
apt-get install libxml2 czy apt-get install libxml?
 
Code:
root@junior:~# apt-get install libxml2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml2-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 138 not upgraded.

Code:
root@junior:~# whereis libxml2-dev
libxml2-dev:

- - - Updated - - -

Code:
root@junior:~# whereis libxml2
libxml2: /usr/include/libxml2
Najlepsze jest to z z WinSCP nie widze tego katalogu ;o
 
A sprobuj najpierw usunac, a pozniej wgrac.

Code:
apt-get --purge remove libxml2-dev; apt-get install libxml-dev

/Powinno/ (ale nie mam 100% pewnosci) usunac pozostalosci i na nowo zainstalowac wraz z includami.
 
Więc tak. Odinstalowało się dobrze, ale:
Code:
root@junior:~# apt-get install libxml-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libxml-dev
 
Code:
root@junior:~# apt-get install libxml2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libxml2-dev
0 upgraded, 1 newly installed, 0 to remove and 138 not upgraded.
Need to get 0 B/899 kB of archives.
After this operation, 2796 kB of additional disk space will be used.
Selecting previously deselected package libxml2-dev.
(Reading database ... 42606 files and directories currently installed.)
Unpacking libxml2-dev (from .../libxml2-dev_2.8.0+dfsg1-6_amd64.deb) ...
Processing triggers for man-db ...
Setting up libxml2-dev (2.8.0+dfsg1-6) ...
 
Back
Top