Strona 1 z 1

kompilacja VirtualBox - problem z as86 i xalan!!

: 20 maja 2007, 20:00
autor: thalcave
Chce skompilować VirtualBox, ale po wpisaniu (jako root):

Kod: Zaznacz cały

./configure
wyrzuca mi:

Kod: Zaznacz cały

Checking for environment: 

Warning! Support for AMD64 host systems is work in progress.
         Don't expect it to work or even to build at the moment.


Determined linux.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.1.3, using precompiled objects for recompiler, OK.
Checking for as86: 
  ** as86 (variable AS86) not found!
Szukałem tego AS86 ale specjalnie nic nie znalazłem. Jak można temn problem rozwiązać?

: 20 maja 2007, 20:20
autor: el_carles
[klik!]

Spróbuj doinstalować pakiet bin86

: 20 maja 2007, 20:28
autor: thalcave
Dzięki :mrgreen: pomogło teraz mam problem z xalan'em.
Niby go zainstalowałem, ale:

Kod: Zaznacz cały

Checking for xalan: 
  xalan not found at -lxalan-c  or xalanc headers not found
  Check the file configure.log for detailed error information.


[ Dodano: 2007-05-20, 20:30 ]
Oto kawałek loga:

Kod: Zaznacz cały

***** Checking xalan *****
compiling the following source file:

#include <cstdio>
#include <xalanc/Include/XalanVersion.hpp>
extern "C" int main(void)
{
  printf("found version %d.%d.%d",
         XALAN_VERSION_MAJOR, XALAN_VERSION_MINOR, XALAN_VERSION_REVISION);
#if _XALAN_VERSION >= 10800
  printf(", OK.\n");
  return 0;
#else
  printf(", expected version 1.8.0 or higher\n");
  return 1;
#endif
}

using the following command line:
g++ -O -Wall -o .tmp_out .tmp_src.cc "-lxalan-c "
.tmp_src.cc:3:43: error: xalanc/Include/XalanVersion.hpp: No such file or directory
.tmp_src.cc: In function 'int main()':
.tmp_src.cc:7: error: 'XALAN_VERSION_MAJOR' was not declared in this scope
.tmp_src.cc:7: error: 'XALAN_VERSION_MINOR' was not declared in this scope
.tmp_src.cc:7: error: 'XALAN_VERSION_REVISION' was not declared in this scope

: 20 maja 2007, 20:34
autor: el_carles
[klik!]

któryś z tych pakietów powinien rozwiązać problem...

jak nie... to któryś z tych:

[klik!]

Możesz przeszukiwać pakiety oraz ich zawartość na pkg.deb.org

Powinno się to przydać w kolejnych etapach kompilacji ;)

//edit
thalcave pisze:.tmp_src.cc:3:43: error: xalanc/Include/XalanVersion.hpp: No such file or directory
Jeżeli chodzi o to, to pakiet libxalan110-dev będzie Ci potrzebny...

[klik!]

: 20 maja 2007, 20:56
autor: thalcave
Dzięki po raz drugi... teraz męcze się z zlib

: 24 maja 2007, 17:09
autor: Kola
Tez nie moge tego za chiny skompilowac :(

: 24 maja 2007, 17:14
autor: thalcave
Kola, ja się podałem i ściągnąłem paczke i386