Pagina 1 di 1

Compilazione freecad: errore qt

Inviato: sab 8 lug 2006, 14:17
da whites11
Ciao!
invoco il vostro aiuto, o guru della compilazione!
è circa uno o due lustri che cerco di compilare quel maledetto cad 3d...uffa!
tra libreria x non trovata e libreria y non trovata...sono giunto ad un errore tutto nuovo!

Codice: Seleziona tutto

checking for Qt... yes:
    QT_CXXFLAGS=-I/usr/lib/qt/include -DQT_THREAD_SUPPORT
    QT_DIR=/usr/lib/qt
    QT_LIBS=-L/usr/lib/qt/lib -lqt-mt  -lSM -lICE  -L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi
    QT_UIC=/usr/lib/qt/bin/uic
    QT_MOC=/usr/lib/qt/bin/moc
checking correct functioning of Qt installation... failure
configure: error: Failed to find matching components of a complete
                  Qt installation. Try using more options,
                  see ./configure --help.
./configure --help non dice niente di nuovo:

Codice: Seleziona tutto

whites@whitesPC:~/Desktop/whites/cad/freecad/FreeCAD-0.41$ ./configure --help
`configure' configures FreeCAD 0.41 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE.  See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help              display this help and exit
      --help=short        display options specific to this package
      --help=recursive    display the short help of all the included packages
  -V, --version           display version information and exit
  -q, --quiet, --silent   do not print `checking...' messages
      --cache-file=FILE   cache test results in FILE [disabled]
  -C, --config-cache      alias for `--cache-file=config.cache'
  -n, --no-create         do not create output files
      --srcdir=DIR        find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX         install architecture-independent files in PREFIX
                          [/home/whites/FreeCAD]
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                          [PREFIX]

By default, `make install' will install all the files in
`/home/whites/FreeCAD/bin', `/home/whites/FreeCAD/lib' etc.  You can specify
an installation prefix other than `/home/whites/FreeCAD' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
  --bindir=DIR           user executables [EPREFIX/bin]
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
  --libexecdir=DIR       program executables [EPREFIX/libexec]
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  --libdir=DIR           object code libraries [EPREFIX/lib]
  --includedir=DIR       C header files [PREFIX/include]
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  --infodir=DIR          info documentation [PREFIX/info]
  --mandir=DIR           man documentation [PREFIX/man]

Program names:
  --program-prefix=PREFIX            prepend PREFIX to installed program names
  --program-suffix=SUFFIX            append SUFFIX to installed program names
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names

X features:
  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

System types:
  --build=BUILD     configure for building on BUILD [guessed]
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]

Optional Features:
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --disable-dependency-tracking Speeds up one-time builds
  --enable-dependency-tracking  Do not reject slow dependency extractors
  --enable-shared=PKGS  build shared libraries default=yes
  --enable-static=PKGS  build static libraries default=no
  --enable-fast-install=PKGS  optimize for fast installation default=yes
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --enable-loginfo        Enable log information (disabled by default)
  --enable-debug          Enable debug information (enabled by default)
  --enable-warnings       Enable compiler warnings (enabled by default)

Optional Packages:
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
  --with-pic              try to use only PIC/non-PIC objects default=use both
  --with-python-includes  Path of the header files of your Python installation
  --with-python-libs      Path of the library files of your Python
                          installation
  --with-OCC-includes     Path of the header files of your OpenCascade
                          installation
  --with-OCC-libs         Path of the library files of your OpenCascade
                          installation
  --with-wildmagic-includes
                          Path of the header files of your WildMagic3
                          installation
  --with-wildmagic-libs   Path of the library files of your WildMagic3
                          installation
  --with-xercesc-includes Path of the header files of your xerces-c
                          installation
  --with-xercesc-libs     Path of the library files of your xerces-c
                          installation
  --with-coin-includes    Path of the header files of your Coin installation
  --with-coin-libs        Path of the library files of your Coin installation
  --with-soqt-includes    Path of the header files of your SoQt installation
  --with-soqt-libs        Path of the library files of your SoQt installation
  --with-x                use the X Window System
  --with-Qt-dir=DIR       DIR is equal to \$QTDIR if you have followed the
                          installation instructions of Trolltech. Header
                          files are in DIR/include, binary utilities are
                          in DIR/bin and the library is in DIR/lib
  --with-Qt-include-dir=DIR
                          Qt header files are in DIR
  --with-Qt-bin-dir=DIR   Qt utilities such as moc and uic are in DIR
  --with-Qt-lib-dir=DIR   The Qt library is in DIR
  --with-Qt-lib=LIB       Use -lLIB to link with the Qt library

Some influential environment variables:
  CXX         C++ compiler command
  CXXFLAGS    C++ compiler flags
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
              headers in a nonstandard directory <include dir>
  CXXCPP      C++ preprocessor
  CC          C compiler command
  CFLAGS      C compiler flags

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to <Juergen Riegel>.

ragazzi, qua serve un illuminazione!

Inviato: sab 8 lug 2006, 17:54
da manublade
Ciao, mi vengono in mente due possibilità.
La prima non gli piace la tua versione delle qt, prova a mettere le 3.3.6 o, se le hai, a "downgradare".
La seconda prova a dare al configure le varie opzioni

--with-Qt-dir=DIR DIR is equal to \$QTDIR if you have followed the
installation instructions of Trolltech. Header
files are in DIR/include, binary utilities are
in DIR/bin and the library is in DIR/lib
--with-Qt-include-dir=DIR
Qt header files are in DIR
--with-Qt-bin-dir=DIR Qt utilities such as moc and uic are in DIR
--with-Qt-lib-dir=DIR The Qt library is in DIR
--with-Qt-lib=LIB Use -lLIB to link with the Qt library

dove non dare /usr/lib/qt (che un collegamento simbolico) ma /usr/lib/qt-3.x.x a seconda della tua versione.

Più di questo non so dirti, vedi anche al sito di freecad se è un errore noto. Ciao

Inviato: lun 10 lug 2006, 13:41
da whites11
purtroppo non funziona: stesso errore!
sul sito nessun accenno a tale errore :(

proverò a contattare i developers!

grazie lo stesso!

Inviato: lun 10 lug 2006, 15:39
da gohanz
A me manco lo Script di configure funziona.

checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
configure: error: cannot run /bin/sh ./config.sub
root@argo:~/Desktop/FreeCAD/src# mc

Inviato: lun 10 lug 2006, 16:00
da whites11
gohanz ha scritto:A me manco lo Script di configure funziona.

checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
configure: error: cannot run /bin/sh ./config.sub
root@argo:~/Desktop/FreeCAD/src# mc
strano a me non ha dato problemi di quel tipo!
mah!
ho inserito la richiesta di aiuto su sourceforge, vediamo se rispondono!!!