Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]Cmake fallisce: errato make.conf?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
table
Apprentice
Apprentice


Joined: 17 Feb 2007
Posts: 279
Location: Gazzaniga (BG) Italy

PostPosted: Sun Feb 22, 2009 2:49 pm    Post subject: [RISOLTO]Cmake fallisce: errato make.conf? Reply with quote

Dopo qualche giorno mi sono messo ad aggiornare la mia Gentoo.
Mi trovo questo errore nella compilazione di poppler-bindings

Code:

....
  use gtk-doc:        no         
  use libjpeg:        yes         
  use zlib:           no         
  command line utils: yes         
make -j3 libpoppler-arthur.la     
/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../goo   -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtTest   -I/usr/include/libxml2   -I/usr/include/freetype2       -Wall -Wno-write-strings CXXFLAGS=-O2 -march=prescott -pipe -fomit-frame-pointer -pthread -MT ArthurOutputDev.lo -MD -MP -MF .deps/ArthurOutputDev.Tpo -c -o ArthurOutputDev.lo ArthurOutputDev.cc                                                                                                                                     
mkdir .libs                                                                                                                                                 
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../goo -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtTest -I/usr/include/libxml2 -I/usr/include/freetype2 -Wall -Wno-write-strings CXXFLAGS=-O2 -march=prescott -pipe -fomit-frame-pointer -pthread -MT ArthurOutputDev.lo -MD -MP -MF .deps/ArthurOutputDev.Tpo -c ArthurOutputDev.cc  -DPIC                                                 
i686-pc-linux-gnu-g++: CXXFLAGS=-O2: No such file or directory                                                                                               
ArthurOutputDev.cc:244:2: warning: #warning fix this, probably update with updated code from SplashOutputdev                                                 
ArthurOutputDev.cc:520:2: warning: #warning FIX THIS                                                                                                         
make: *** [ArthurOutputDev.lo] Error 1     

* ERROR: app-text/poppler-bindings-0.8.7 failed.                                                                                                           
 * Call stack:                                                                                                                                               
 *               ebuild.sh, line   49:  Called src_compile                                                                                                   
 *             environment, line 2568:  Called die                                                                                                           
 * The specific snippet of code:                                                                                                                             
 *           emake libpoppler-arthur.la || die "arthur failed";                                                                                             
 *  The die message:                                                                                                                                         
 *   arthur failed                                                                                                                                           
 *                                                                                                                                                           
 * If you need support, post the topmost build error, and the call stack if relevant.                                                                       
 * A complete build log is located at '/var/tmp/portage/app-text/poppler-bindings-0.8.7/temp/build.log'.                                                     
 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-bindings-0.8.7/temp/environment'.                                           
 *                                                                                                                                                           

>>> Failed to emerge app-text/poppler-bindings-0.8.7, Log file:

>>>  '/var/tmp/portage/app-text/poppler-bindings-0.8.7/temp/build.log'

 * Messages for package app-crypt/pinentry-0.7.5:

 * We no longer install pinentry-curses and pinentry-qt SUID root by default.
 * Linux kernels >=2.6.9 support memory locking for unprivileged processes.
 * The soft resource limit for memory locking specifies the limit an
 * unprivileged process may lock into memory. You can also use POSIX
 * capabilities to allow pinentry to lock memory. To do so activate the caps
 * USE flag and add the CAP_IPC_LOCK capability to the permitted set of
 * your users.

 * Messages for package app-crypt/gnupg-2.0.9:

 * If you wish to view images emerge:
 * media-gfx/xloadimage, media-gfx/xli or any other viewer
 * Remember to use photo-viewer option in configuration file to activate
 * the right viewer

 * Messages for package app-text/poppler-bindings-0.8.7:

 *
 * ERROR: app-text/poppler-bindings-0.8.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2568:  Called die
 * The specific snippet of code:
 *           emake libpoppler-arthur.la || die "arthur failed";
 *  The die message:
 *   arthur failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-text/poppler-bindings-0.8.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-bindings-0.8.7/temp/environment'.
 *

 * Regenerating GNU info directory index...
 * Processed 91 info files.



Ecco il mio make.conf:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CXXFLAGS="CXXFLAGS=${CFLAGS}"



# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"

MAKEOPTS="-j3"

GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ "

USE="aac alsa bash-completion cdr dbus dvd ffmpeg hal kde kde4 kdm laptop \
     mmx mmxext mp3 mpeg2 mplayer opengl qt3support qt4 symlink sse sse2 sse3 \
     truetype -gnome -gtk"

VIDEO_CARDS="intel"

LINGUAS="it"


Lo stesso problema mi si ripresenta sul pacchetto app-text/djvu.

Siceramente non so a che cosa servono questi pacchetti :(
_________________
Pulisci l'html con:
Code:
sed 's/<[Bb][Rr][ \t]*\/*>/\n/g;s/<\/*[^>]\+\/*>//g'

skype: matteopinguino


Last edited by table on Sun Feb 22, 2009 4:09 pm; edited 2 times in total
Back to top
View user's profile Send private message
scary
n00b
n00b


Joined: 17 Apr 2004
Posts: 47

PostPosted: Sun Feb 22, 2009 3:38 pm    Post subject: Reply with quote

Ciao, sono niubbo quindi prendila con le pinze, ma quella riga nel make.conf:
Code:
CXXFLAGS="CXXFLAGS=${CFLAGS}"

mi sembra un po' strana.. io la sostituirei con semplicemente
Code:
CXXFLAGS="$CFLAGS"


cambia qualcosa?
Back to top
View user's profile Send private message
table
Apprentice
Apprentice


Joined: 17 Feb 2007
Posts: 279
Location: Gazzaniga (BG) Italy

PostPosted: Sun Feb 22, 2009 3:56 pm    Post subject: Reply with quote

Ho provato come dici tu. ma nulla.

l'errore sembra dovuto a qualche errata configurazione del make.conf:
Code:
CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE):                                                                             
  The C++ compiler "/usr/bin/i686-pc-linux-gnu-g++" is not able to compile a                                                                                 
  simple test program.                                                                                                                                       

  It fails with the following output:

   Change Dir: /var/tmp/portage/kde-base/phonon-kde-4.2.0/work/phonon-kde_build/CMakeFiles/CMakeTmp

 

  Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"

  /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make
  CMakeFiles/cmTryCompileExec.dir/build                       

  gmake[1]: Entering directory
  `/var/tmp/portage/kde-base/phonon-kde-4.2.0/work/phonon-kde_build/CMakeFiles/CMakeTmp'


  /usr/bin/cmake -E cmake_progress_report
  /var/tmp/portage/kde-base/phonon-kde-4.2.0/work/phonon-kde_build/CMakeFiles/CMakeTmp/CMakeFiles
  1                                                                                             

  Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o

  /usr/bin/i686-pc-linux-gnu-g++ CXXFLAGS=-O2 -march=prescott -pipe
  -fomit-frame-pointer -o                                         
  CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c         
  /var/tmp/portage/kde-base/phonon-kde-4.2.0/work/phonon-kde_build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


  i686-pc-linux-gnu-g++: CXXFLAGS=-O2: No such file or directory

  gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o] Error
  1                                                                         

  gmake[1]: Leaving directory
  `/var/tmp/portage/kde-base/phonon-kde-4.2.0/work/phonon-kde_build/CMakeFiles/CMakeTmp'


  gmake: *** [cmTryCompileExec/fast] Error 2

 

 

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):                       
  CMakeLists.txt:1 (project)                               


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more   
  information run "cmake --help-policy CMP0000".                             
This warning is for project developers.  Use -Wno-dev to suppress it.       

-- Configuring incomplete, errors occurred!

_________________
Pulisci l'html con:
Code:
sed 's/<[Bb][Rr][ \t]*\/*>/\n/g;s/<\/*[^>]\+\/*>//g'

skype: matteopinguino
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 837
Location: Villach, Austria

PostPosted: Sun Feb 22, 2009 4:00 pm    Post subject: Reply with quote

infatti quella riga è sbagliata. deve essere
Code:
CXXFLAGS="${CFLAGS}"
più eventuali altre flag
Back to top
View user's profile Send private message
table
Apprentice
Apprentice


Joined: 17 Feb 2007
Posts: 279
Location: Gazzaniga (BG) Italy

PostPosted: Sun Feb 22, 2009 4:06 pm    Post subject: Reply with quote

devilheart wrote:
infatti quella riga è sbagliata. deve essere
Code:
CXXFLAGS="${CFLAGS}"
più eventuali altre flag


infatti sono un bue, risolto, grazie :roll:
_________________
Pulisci l'html con:
Code:
sed 's/<[Bb][Rr][ \t]*\/*>/\n/g;s/<\/*[^>]\+\/*>//g'

skype: matteopinguino
Back to top
View user's profile Send private message
scary
n00b
n00b


Joined: 17 Apr 2004
Posts: 47

PostPosted: Sun Feb 22, 2009 4:17 pm    Post subject: Reply with quote

c'ero quasi :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum