View Single Post
Old 07-15-2008, 05:45 AM   #5
artcoffeewords
Reading & Knitting
artcoffeewords began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2008
Location: Pacific Northwest
Device: Sony PRS-505 and Palm Zire 72
I got the source code and I am pretty sure I have the dependent dev packages. When I run the code to make the plugin I get this output with the error code at the end and the /src/calibre/plugins/ folder is empty.
Quote:
mkdir -p src/calibre/plugins
mkdir -p src/calibre/plugins && rm -f src/calibre/plugins/*pictureflow* && \
cd src/calibre/gui2/pictureflow && rm -f *.o && \
mkdir -p .build && cd .build && rm -f * && \
qmake ../pictureflow.pro && make staticlib && \
cd ../PyQt && \
mkdir -p .build && \
cd .build && rm -f * && \
python ../configure.py && make && \
cd ../../../../../.. && \
cp src/calibre/gui2/pictureflow/PyQt/.build/pictureflow.so src/calibre/plugins/ && \
rm -rf src/calibre/gui2/pictureflow/.build rm -rf src/calibre/gui2/pictureflow/PyQt/.build
make[1]: Entering directory `/home/teresa/calibre/src/calibre/gui2/pictureflow/.build'
g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I../../pictureflow -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../pictureflow -I../../pictureflow -I. -o pictureflow.o ../pictureflow.cpp
../pictureflow.cpp:1380: warning: unused parameter ‘index’
../pictureflow.cpp:1381: warning: unused parameter ‘index’
/usr/bin/moc-qt4 -DQT_SHARED -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I../../pictureflow -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../pictureflow -I../../pictureflow -I. ../pictureflow.h -o moc_pictureflow.cpp
g++ -c -pipe -fpermissive -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I../../pictureflow -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../../pictureflow -I../../pictureflow -I. -o moc_pictureflow.o moc_pictureflow.cpp
rm -f libpictureflow.a
ar cqs libpictureflow.a pictureflow.o moc_pictureflow.o
make[1]: Leaving directory `/home/teresa/calibre/src/calibre/gui2/pictureflow/.build'
sh: /usr/bin/sip: not found
Error: Unable to open "pictureflow.sbf": [Errno 2] No such file or directory:
'pictureflow.sbf'
make: *** [pictureflow] Error 1
artcoffeewords is offline   Reply With Quote