Xorg, LXDE, VNC, and KDE apps

Ask questions about Arch Linux ARM. Please search before making a new topic.

Xorg, LXDE, VNC, and KDE apps

Postby jambo » Fri Jun 17, 2011 9:43 pm

Having sworn off Quicken and unable to find any OSX app that satisfied my requirements, I want to use kmymoney for recording household finances. I'm trying to set up my TonidoPlug as a simple headless Linux server where both my sweetie and I can access our joint records in kmymoney remotely.

System: TonidoPlug booting from a fresh install of Arch Linux ARM (6/16/2011), updated with pacman -Syu to kernel26 (2.6.39.1-1), on a 8GB USB stick inserted directly into the plug

I succeeded in installing xorg and and LXDE and tightvnc on my plug (in addition to the relevant pages on Arch Linux ARM.com and wiki.archlinux.org, the Installing X11 page at computingplugs.com [http://computingplugs.com/index.php/Installing_X11] was very helpful after translating from apt-get to pacman and installing the entire xorg package in place of X11). ~/.vnc/xstartup is configured to automatically start LXDE when I log in and it works from a Mac (Chicken VNC) or Windows XP (TightVNC).

So far, so good--until I tried to add kmymoney, a KDE package, which is not in the Arch Linux ARM repository. After installing abs, using the PKGBUILD for kmymoney generates an error that it depends on kdebase-workspace, which depends on kdebindings-python, which in abs is combined with kdebindings-csharp, kdebindings-ruby, and kdebindings-smoke in a PKGBUILD called kdebindings. When I run makepkg --asroot -Acs from /var/abs/extra/kdebindings, this is the entire report:

==> Making package: kdebindings 4.6.3-1 (Fri Jun 17 18:50:42 MDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: python2-pyqt
==> ERROR: 'pacman' failed to install missing dependencies.

Trying pacman -S python2-pyqt generates an error: target not found

This problem seems to have appeared in the transition from python2 to python3 and is not unique to Arch Linux ARM (see "pyqt packages confusion" at http://mailman.archlinux.org/pipermail/ ... 19925.html and "python2-pyqt depends on python3" at https://bbs.archlinux.org/viewtopic.php?pid=932919 and "can't find PKGBUILD of python2-pyqt" at https://bbs.archlinux.org/viewtopic.php?id=119819)

Trying the pyqt PKGBUILD mentioned in the "can't find PKGBUILD of python2-pyqt" thread generated an error of "Failed to determine the layout of your Qt installation."

Trying the 2 PKGBUILD files from the "python2-pyqt depends on python3" thread also generated errors.

I was able to install a GTK+ app (leafpad) and some gnome apps (gnumeric and gnucash) from the Arch Linux ARM repository and these work correctly in LXDE, but I couldn't find any KDE apps that work. I installed kdepim from the Arch Linux ARM repository with no reported errors and the components appeared in the LXDE menu, but none worked. When I tried to install koffice-meta-koffice from the repository, I got an error message and the install failed. Running makepkg on /var/abs/extra/kdebase also resulted in missing dependency kdebase-workspace.

Please help! How can I get this problem wih python2-pyqt sorted out? I'm eager to take the next step of installing kdebase-workspace so I can descend to the next layer of dependency hell.

Thanks!
jambo
 
Posts: 12
Joined: Fri Jun 17, 2011 7:37 pm

Re: Xorg, LXDE, VNC, and KDE apps

Postby pepedog » Fri Jun 17, 2011 10:38 pm

This might get you out of trouble
pacman -Sf setuptools
easy_install-2.7 pip
pip install pyqt
Now remove dependancy out of PKGBUILD
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Xorg, LXDE, VNC, and KDE apps

Postby jambo » Sat Jun 18, 2011 7:52 am

Thanks for the prompt suggestion. I followed the instructions and got an error message. Here's the complete text from terminal:
$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# pacman -Sf setuptools
warning: python2-distribute-0.6.16-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): python2-distribute-0.6.16-1

Total Download Size: 0.00 MB
Total Installed Size: 1.87 MB

Proceed with installation? [Y/n]
(1/1) checking package integrity [######################] 100%
(1/1) upgrading python2-distribute [######################] 100%
[root@Arch Linux ARM install ~]# easy_install-2.7 pip
Searching for pip
Reading http://pypi.python.org/simple/pip/
Reading http://pip.openplans.org
Reading http://www.pip-installer.org
Best match: pip 1.0.1
Downloading http://pypi.python.org/packages/source/p/pip/pip-1.0.1.tar.gz#md5=28dcc70225e5bf925532abc5b087a94b
Processing pip-1.0.1.tar.gz
Running pip-1.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-xHTyZu/pip-1.0.1/egg-dist-tmp-A1LIuS
warning: no files found matching '*.html' under directory 'docs'
warning: no previously-included files matching '*.txt' found under directory 'docs/_build'
no previously-included directories found matching 'docs/_build/_sources'
Adding pip 1.0.1 to easy-install.pth file
Installing pip script to /usr/bin
Installing pip-2.7 script to /usr/bin

Installed /usr/lib/python2.7/site-packages/pip-1.0.1-py2.7.egg
Processing dependencies for pip
Finished processing dependencies for pip
[root@Arch Linux ARM install ~]# pip install pyqt
Downloading/unpacking pyqt
Downloading PyQt-x11-gpl-4.8.4.tar.gz (9.8Mb): 9.8Mb downloaded
Running setup.py egg_info for package pyqt
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/root/build/pyqt/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/root/build/pyqt/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log
')

And here's the pip.log referenced in the terminal message:
$this->bbcode_second_pass_code('', '------------------------------------------------------------
/usr/bin/pip run on Sat Jun 18 07:46:47 2011
Downloading/unpacking pyqt
Getting page http://pypi.python.org/simple/pyqt
URLs to search for versions for pyqt:
* http://pypi.python.org/simple/pyqt/
Getting page http://pypi.python.org/simple/pyqt/
Getting page http://www.riverbankcomputing.com/software/pyqt/
Getting page http://www.riverbankcomputing.com/software/pyqt/download
Analyzing links from page http://pypi.python.org/simple/PyQt/
Skipping link http://www.riverbankcomputing.com/software/pyqt/ (from http://pypi.python.org/simple/PyQt/); not a file
Skipping link http://www.riverbankcomputing.com/software/pyqt/download (from http://pypi.python.org/simple/PyQt/); not a file
Analyzing links from page http://www.riverbankcomputing.com/software/pyqt/intro
Skipping link http://www.riverbankcomputing.com/software/pyqt/intro/index.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive for$
Skipping link http://www.riverbankcomputing.com/@@/resources/riverbank.css (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive format:$
Skipping link http://www.riverbankcomputing.com/@@/resources/logo_tn.png (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive format: .$
Skipping link http://yui.yahooapis.com/2.5.2/build/menu/assets/skins/sam/menu.css (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive $
Skipping link http://www.riverbankcomputing.com/software/pyqt/intro/@@rcl_login.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archi$
Skipping link http://qt.nokia.com (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/commercial/buy (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.sqlite.org (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://webkit.org/ (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.freedesktop.org/wiki/Software_2fdbus (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://qt.nokia.com/ (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.python.org/ (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.qtsoftware.com/products/appdev/developer-tools (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/sip (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/pyqt/whitepaper (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://qt.nokia.com/services-partners/partners/partner-directory/riverbank-computing (from http://www.riverbankcomputing.com/software/pyqt/intro);$
Skipping link http://www.riverbankcomputing.com/news/dip-0.3 (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive format: .3
Skipping link http://www.riverbankcomputing.com/news/sip-4123 (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/news/pyqt-484 (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/news/sip-4122 (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/news/pyqtmobility-101 (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/pyqtmobility/download (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/qscintilla/download (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/sip/download (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/vendorid/download (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/dip/download (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/pykde/download3 (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/pyqt/download3 (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/software/qscintilla/download1 (from http://www.riverbankcomputing.com/software/pyqt/intro); not a file
Skipping link http://www.riverbankcomputing.com/static/Docs/PyQt4/html/classes.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archiv$
Skipping link http://www.riverbankcomputing.com/static/Docs/PyQt4/html/index.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive $
Skipping link http://www.riverbankcomputing.com/static/Docs/QScintilla2/index.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive$
Skipping link http://www.riverbankcomputing.com/static/Docs/sip4/index.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive format$
Skipping link http://www.riverbankcomputing.com/static/Docs/VendorID/vendorid.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive$
Skipping link http://www.riverbankcomputing.com/static/Docs/dip/index.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive format:$
Skipping link http://www.riverbankcomputing.com/static/Docs/PyKDE3/index.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive form$
Skipping link http://www.riverbankcomputing.com/static/Docs/PyQt3/PyQt.html (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive format$
Skipping link mailto:info@riverbankcomputing.com (from http://www.riverbankcomputing.com/software/pyqt/intro); unknown archive format: .com
Analyzing links from page http://www.riverbankcomputing.com/software/pyqt/download
Skipping link http://www.riverbankcomputing.com/software/pyqt/download/index.html (from http://www.riverbankcomputing.com/software/pyqt/download); unknown archi$
Skipping link http://www.riverbankcomputing.com/software/pyqt/download/@@rcl_login.html (from http://www.riverbankcomputing.com/software/pyqt/download); unknown$
Found link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-4.8.4.tar.gz (from http://www.riverbankcomputing.com/software/pyqt/download), v$
Found link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-win-gpl-4.8.4.zip (from http://www.riverbankcomputing.com/software/pyqt/download), vers$
Found link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-mac-gpl-4.8.4.tar.gz (from http://www.riverbankcomputing.com/software/pyqt/download), v$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/ChangeLog (from http://www.riverbankcomputing.com/software/pyqt/download); not a file
Skipping link http://doc.trolltech.com/ (from http://www.riverbankcomputing.com/software/pyqt/download); not a file
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py3.2-x86-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py3.2-x64-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py3.1-x86-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py3.1-x64-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.7-x86-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.7-x64-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.6-x86-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.6-x64-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.5-x86-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-Py2.5-x64-gpl-4.8.4-1.exe (from http://www.riverbankcomputing.com/software/pyqt/down$
Found link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-snapshot-4.8.5-7598c7a759f6.tar.gz (from http://www.riverbankcomputing.com/soft$
Found link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-win-gpl-snapshot-4.8.5-7598c7a759f6.zip (from http://www.riverbankcomputing.com/softwar$
Found link http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-mac-gpl-snapshot-4.8.5-7598c7a759f6.tar.gz (from http://www.riverbankcomputing.com/soft$
Skipping link http://www.riverbankcomputing.com/static/Downloads/PyQt4/ChangeLog-snapshot-4.8.5-7598c7a759f6 (from http://www.riverbankcomputing.com/software/py$
Using version x11-gpl-4.8.4 (newest of versions: x11-gpl-4.8.4, x11-gpl-snapshot-4.8.5-7598c7a759f6, win-gpl-4.8.4, win-gpl-snapshot-4.8.5-7598c7a759f6, mac-gpl-4$
Downloading from URL http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-4.8.4.tar.gz (from http://www.riverbankcomputing.com/software/pyqt/down$
Running setup.py egg_info for package pyqt
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/root/build/pyqt/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/root/build/pyqt/setup.py'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip-1.0.1-py2.7.egg/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip-1.0.1-py2.7.egg/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/site-packages/pip-1.0.1-py2.7.egg/pip/req.py", line 986, in prepare_files
req_to_install.run_egg_info()
File "/usr/lib/python2.7/site-packages/pip-1.0.1-py2.7.egg/pip/req.py", line 222, in run_egg_info
command_desc='python setup.py egg_info')
File "/usr/lib/python2.7/site-packages/pip-1.0.1-py2.7.egg/pip/__init__.py", line 255, in call_subprocess
% (command_desc, proc.returncode))
InstallationError: Command python setup.py egg_info failed with error code 1
')

I'm new at linux, so I really don't know how to troubleshoot a problem like this. What's the next step that I should take?

Thanks!
jambo
 
Posts: 12
Joined: Fri Jun 17, 2011 7:37 pm

Re: Xorg, LXDE, VNC, and KDE apps

Postby pepedog » Sat Jun 18, 2011 8:50 am

I don't know if this will get you further, but Arch Linux ARM has pip so it's best to use that, and you will have to force
pacman -Sf python-pip

python2-pyqt is in archlinux extra, you could try to build (then install) with
$this->bbcode_second_pass_code('', 'pacman -S abs
abs
cd /var/abs/extra/python2-pyqt
makepkg -Acs --asroot
Then install')

abs is all PKGBUILDS's and files for extra/core/community (what you see here http://www.archlinux.org/packages/)
yaort for aur (what you see here https://aur.archlinux.org/)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Xorg, LXDE, VNC, and KDE apps

Postby jambo » Mon Jun 20, 2011 8:16 pm

Thanks for again suggesting some troubleshooting steps, pepedog. As I understand it, python2-pyqt and pyqt are both compiled by the abs package pyqt. Please correct me if I'm wrong. Here's the PKGBUILD for pyqt:

$this->bbcode_second_pass_code('', '# $Id: PKGBUILD 122181 2011-05-02 17:31:08Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>

pkgbase=pyqt
pkgname=('pyqt' 'python2-pyqt')
pkgver=4.8.4
pkgrel=1
arch=('i686' 'x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
makedepends=('qt' 'python-sip' 'dbus-python' 'python2-sip' 'phonon'
'python-opengl' 'qt-assistant-compat')
source=("http://riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-${pkgver}.tar.gz")
md5sums=('97c5dc1042feb5b3fe20baabad055af1')

build() {
cd "${srcdir}"
cp -r PyQt-x11-gpl-${pkgver} Py2Qt-x11-gpl-${pkgver}

cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
python configure.py \
--confirm-license \
--qsci-api

# Thanks Gerardo for the rpath fix
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'

make

### Python2 version ###
cd "${srcdir}/Py2Qt-x11-gpl-${pkgver}"
python2 configure.py \
--confirm-license \
-v /usr/share/sip \
--qsci-api

# Thanks Gerardo for the rpath fix
find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'

make
}

package_pyqt(){
pkgdesc="A set of Python bindings for the Qt toolkit"
depends=('qt' 'python-sip')
optdepends=('phonon: enable audio and video in PyQt applications'
'qscintilla: QScintilla API'
'qt-assistant-compat: add PyQt online help in Qt Assistant')
replaces=('python-qt')
provides=('python-qt')

cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
# INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
}

package_python2-pyqt(){
pkgdesc="PyQt: A set of Python2 bindings for the Qt toolkit"
depends=('pyqt' 'python2-sip' 'dbus-python')
optdepends=('phonon: enable audio and video in PyQt applications'
'python-opengl: enable OpenGL 3D graphics in PyQt applications'
'qscintilla: QScintilla API'
'qt-assistant-compat: add PyQt online help in Qt Assistant')
replaces=('python2-qt')
provides=('python2-qt')

cd "${srcdir}/Py2Qt-x11-gpl-${pkgver}"
# INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install

# Provided by pyqt
rm ${pkgdir}/usr/bin/{pylupdate4,pyrcc4,pyuic4}
rm ${pkgdir}/usr/lib/qt/plugins/designer/libpythonplugin.so
rm ${pkgdir}/usr/share/qt/qsci/api/python/PyQt4.api
}
')

Here are the messages generated when I run makepkg --asroot -Acs while pwd is /var/abs/extra/pyqt:
$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install ~]# cd /var/abs/extra/pyqt
[root@Arch Linux ARM install pyqt]# makepkg --asroot -Acs
==> Making package: pyqt 4.8.4-1 (Mon Jun 20 18:34:12 MDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (8): sip-4.12.2-1 python2-sip-4.12.2-1 python-sip-4.12.1-2
dbus-python-0.83.1-2 tcl-8.5.9-1 tk-8.5.9-1
python-opengl-3.0.1-2 qt-assistant-compat-4.6.3-1

Total Download Size: 0.00 MB
Total Installed Size: 23.68 MB

Proceed with installation? [Y/n]
(8/8) checking package integrity [######################] 100%
(8/8) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
/usr/include/python3.2mu/sip.h exists in both 'sip' and 'python-sip'
/usr/lib/python3.2/site-packages/sip.so exists in both 'sip' and 'python-sip'
/usr/lib/python3.2/site-packages/sipconfig.py exists in both 'sip' and 'python-sip'
/usr/lib/python3.2/site-packages/sipdistutils.py exists in both 'sip' and 'python-sip'
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
[root@Arch Linux ARM install pyqt]#
')

Running through the dependencies one-by-one, they all installed using pacman -S xxxx except python-sip, which returned the same list of error message as makepkg.

Running makepkg again after installing all the dependencies except python-sip produced this result:
$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install pyqt]# makepkg --asroot -Acs
==> Making package: pyqt 4.8.4-1 (Mon Jun 20 18:51:49 MDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading PyQt-x11-gpl-4.8.4.tar.gz...
--2011-06-20 18:51:49-- http://riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-4.8.4.tar.gz
Resolving riverbankcomputing.co.uk (riverbankcomputing.co.uk)... 207.126.122.146
Connecting to riverbankcomputing.co.uk (riverbankcomputing.co.uk)|207.126.122.146|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9799081 (9.3M) [application/x-gzip]
Saving to: “PyQt-x11-gpl-4.8.4.tar.gz.part”

100%[====================================================================>] 9,799,081 1.78M/s in 5.9s

2011-06-20 18:51:55 (1.58 MB/s) - “PyQt-x11-gpl-4.8.4.tar.gz.part” saved [9799081/9799081]

==> Validating source files with md5sums...
PyQt-x11-gpl-4.8.4.tar.gz ... Passed
==> Extracting Sources...
-> Extracting PyQt-x11-gpl-4.8.4.tar.gz with bsdtar
==> Starting build()...
Determining the layout of your Qt installation...
Error: Failed to determine the layout of your Qt installation. Try again using
the --verbose flag to see more detail about the problem.
==> ERROR: A failure occurred in build().
Aborting...
')

So now the error message is different, which might be progress or might not.

I forced an install of python-sip using pacman -Sf python-sip and ran makepkg which returned:
Error: This version of PyQt requires SIP v4.12.2 or later

python-sip is v4.12.1, so I forced a reinstall of python2-sip, which is v4.12.2

makepkg still returns the same error: This version of PyQt requires SIP v4.12.2 or later

Here's the info on the *sip packages that are installed:
$this->bbcode_second_pass_code('', 'Name : sip
Version : 4.12.2-1
URL : http://www.riverbankcomputing.com/software/sip/
Licenses : custom:"sip"
Groups : None
Provides : python-sip
Depends On : python
Optional Deps : None
Required By : python2-sip
Conflicts With : None
Replaces : python-sip
Installed Size : 576.00 K
Packager : Kevin Mihelich <kevin@Arch Linux ARM.com>
Architecture : arm
Build Date : Wed 11 May 2011 04:25:43 AM MDT
Install Date : Mon 20 Jun 2011 06:40:58 PM MDT
Install Reason : Explicitly installed
Install Script : No
Description : A tool that makes it easy to create Python bindings for C and C++ libraries

Name : python2-sip
Version : 4.12.2-1
URL : http://www.riverbankcomputing.com/software/sip/
Licenses : custom:"sip"
Groups : None
Provides : None
Depends On : sip python2
Optional Deps : None
Required By : python-sip
Conflicts With : None
Replaces : None
Installed Size : 288.00 K
Packager : Kevin Mihelich <kevin@Arch Linux ARM.com>
Architecture : arm
Build Date : Wed 11 May 2011 04:25:48 AM MDT
Install Date : Mon 20 Jun 2011 07:29:24 PM MDT
Install Reason : Explicitly installed
Install Script : No
Description : A tool that makes it easy to create Python2 bindings for C and C++ libraries

Name : python-sip
Version : 4.12.1-2
URL : http://www.riverbankcomputing.com/software/sip/
Licenses : custom:"sip"
Groups : None
Provides : None
Depends On : python2-sip python
Optional Deps : None
Required By : None
Conflicts With : None
Replaces : None
Installed Size : 288.00 K
Packager : Kevin Mihelich <kevin@Arch Linux ARM.com>
Architecture : arm
Build Date : Mon 28 Feb 2011 03:05:33 AM MST
Install Date : Mon 20 Jun 2011 07:24:56 PM MDT
Install Reason : Explicitly installed
Install Script : No
Description : A tool that makes it easy to create Python 3 bindings for C and C++ libraries
')

In addition, I redownloaded the abs files and rebooted my TonidoPlug, and the error message for makepkg was still the same:
This version of PyQt requires SIP v4.12.2 or later

Any suggestions on next steps?

Thanks!
jambo
 
Posts: 12
Joined: Fri Jun 17, 2011 7:37 pm

Re: Xorg, LXDE, VNC, and KDE apps

Postby pepedog » Mon Jun 20, 2011 10:20 pm

I can see packages being install which are python2 and python (which is python 3)
I would have only expect that one is required.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Xorg, LXDE, VNC, and KDE apps

Postby jambo » Tue Jun 21, 2011 1:38 am

Yes, I would expect that only one python would be required, but here's line 13 from the PKGBUILD for /var/abs/extra/sip:
makedepends=('python' 'python2')

I updated my system and version 4.12.3 of sip and python2-sip was installed. Running makepkg on pyqt again resulted in the old error:
Failed to determine the layout of your Qt installation.

python-sip remained at v4.12.1, so I removed it. The result from makepkg on pyqt was the same.

Thanks!
jambo
 
Posts: 12
Joined: Fri Jun 17, 2011 7:37 pm

Re: Xorg, LXDE, VNC, and KDE apps

Postby pepedog » Tue Jun 21, 2011 2:50 pm

I don't know what type of plug you have, I have a trimslice that I tried on (armv7), ahh just spotted you have a TonidoPlug and package pyqt3 is there

My system had no form of python installed, so I the installed python and python2,
sip-4.12.3-1-armv7.pkg.tar.xz
python2-sip-4.12.3-1-armv7.pkg.tar.xz
all built and installed ok
Am 2 1/2 hours into build of pyqt. Don't know what versions(s) it will build yet
Edit, it built pyqt-4.8.4-1-armv7.pkg.tar.xz python2-pyqt-4.8.4-1-armv7.pkg.tar.xz

Maybe you should remove and install qt and qt3 then try again?
A pacman -Syu followed by abs wouldn't hurt either
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Xorg, LXDE, VNC, and KDE apps

Postby jambo » Sun Jun 26, 2011 11:51 pm

Thanks for reporting on your successful build of pyqt and python2-pyqt. I started over from scratch on my TonidoPlug using the files from the new archlinuxarm.org website. While looking at the new site, I saw on the "Building Packages" page for Developers a list of packages that needed to be installed. I had 3 of the 4, so I installed the missing one, base-devel.

I don't know what made the difference, but this time I was able to build and install pyqt and python2-pyqt.

Flush with success, I descended into the next level of dependency hell by trying to building kdebindings-python (a split package combined with kdebindings-smoke, kdebindings-csharp, and kdebindings-ruby in the master package of kdebindings). Here's the PKGBUILD:
$this->bbcode_second_pass_code('', '# $Id: PKGBUILD 107102 2011-01-21 11:16:03Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>

pkgbase=kdebindings
pkgname=('kdebindings-csharp'
'kdebindings-python'
'kdebindings-ruby'
'kdebindings-smoke')
pkgver=4.6.3
pkgrel=1
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'python2-pyqt' 'kdepim-runtime' 'mono'
'kdegraphics-okular' 'qwt' 'boost' 'qscintilla' 'ruby')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
sha1sums=('4ecc6ac378c241472aa75680abfafd8d57672653')

build() {
export MONO_SHARED_DIR="${srcdir}/build/.mono"
mkdir -p "$MONO_SHARED_DIR"

cd ${srcdir}/build

cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DRUBY_SITE_LIB_DIR="/usr/lib/ruby/site_ruby/1.9.1" \
-DRUBY_SITE_ARCH_DIR="/usr/lib/ruby/site_ruby/1.9.1/${CARCH}-linux" \
-DBUILD_falcon=OFF \
-DBUILD_java=OFF \
-DBUILD_php=OFF \
-DWITH_PolkitQt=OFF
make
}

package_kdebindings-csharp() {
pkgdesc='KDE bindings for mono'
depends=('kdebindings-smoke' 'mono')
export MONO_SHARED_DIR="${srcdir}/build/.mono"
mkdir -p "$MONO_SHARED_DIR"
cd $srcdir/build/csharp
make DESTDIR=$pkgdir install
}

package_kdebindings-python() {
pkgdesc='KDE bindings for python'
depends=('kdepim-runtime' 'python2-pyqt' 'qscintilla')
cd $srcdir/build/python
make DESTDIR=$pkgdir install

# Use the python2 executable
find "${pkgdir}" -name '*.py' | xargs sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|'
}

package_kdebindings-ruby() {
pkgdesc='KDE Bindings for ruby'
depends=('kdebindings-smoke' 'ruby')
cd $srcdir/build/ruby
make DESTDIR=$pkgdir install
}

package_kdebindings-smoke() {
pkgdesc='Language independent library for Qt and KDE bindings'
depends=('qscintilla' 'kdegraphics-okular' 'kdepim-runtime')
cd $srcdir/build/smoke
make DESTDIR=$pkgdir install
cd $srcdir/build/generator/smokebase
make DESTDIR=$pkgdir install
}
')

And here's what happened when I tried to build it:
$this->bbcode_second_pass_code('', '[root@Arch Linux ARM install kdebindings]# makepkg -Acs --asroot
==> Making package: kdebindings 4.6.3-1 (Sun Jun 26 16:47:30 MDT 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading kdebindings-4.6.3.tar.bz2...
--2011-06-26 16:47:31-- http://download.kde.org/stable/4.6.3/src/kdebindings-4.6.3.tar.bz2
Resolving download.kde.org (download.kde.org)... 46.4.90.84, 2a01:4f8:140:7345:beef::1
Connecting to download.kde.org (download.kde.org)|46.4.90.84|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://download.kde.org/download.php?url=stable/4.6.3/src/kdebindings-4.6.3.tar.bz2 [following]
--2011-06-26 16:47:31-- http://download.kde.org/download.php?url=stable/4.6.3/src/kdebindings-4.6.3.tar.bz2
Reusing existing connection to download.kde.org:80.
HTTP request sent, awaiting response... 302 Found
Location: ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.6.3/src/kdebindings-4.6.3.tar.bz2 [following]
--2011-06-26 16:47:31-- ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/4.6.3/src/kdebindings-4.6.3.tar.bz2
=> “kdebindings-4.6.3.tar.bz2.part”
Resolving ftp.gtlib.cc.gatech.edu (ftp.gtlib.cc.gatech.edu)... 128.61.111.9, 128.61.111.10, 128.61.111.11, ...
Connecting to ftp.gtlib.cc.gatech.edu (ftp.gtlib.cc.gatech.edu)|128.61.111.9|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/kde/stable/4.6.3/src ... done.
==> SIZE kdebindings-4.6.3.tar.bz2 ... 7078095
==> PASV ... done. ==> RETR kdebindings-4.6.3.tar.bz2 ... done.
Length: 7078095 (6.8M) (unauthoritative)

100%[=====================================================================================================>] 7,078,095 2.08M/s in 3.6s

2011-06-26 16:47:36 (1.90 MB/s) - “kdebindings-4.6.3.tar.bz2.part” saved [7078095]

==> Validating source files with sha1sums...
kdebindings-4.6.3.tar.bz2 ... Passed
==> Extracting Sources...
-> Extracting kdebindings-4.6.3.tar.bz2 with bsdtar
==> Starting build()...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
-- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qwt: /usr/lib/libqwt.so
-- Found QScintilla2: /usr/lib/libqscintilla2.so
-- Found Phonon: /usr/include
-- Found QImageBlitz: /usr/include/qimageblitz
-- Found Soprano: /usr/include
-- Found SharedDesktopOntologies: /usr/share/ontology
-- Found Nepomuk: /usr/lib/libnepomuk.so
-- Found KdepimLibs: /usr/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake
-- Found Akonadi: /usr/lib/cmake/Akonadi/AkonadiConfig.cmake
-- Found LibAttica: /usr/lib/libattica.so (found version "0.2.0", required is "0.1.0")
-- Checking how Qt was built...
-- Threshold is set to 10
-- QT_NO_DEBUG *Undefined*
-- QT_NO_BUTTONGROUP *Undefined*
-- QT_NO_COLORDIALOG *Undefined*
-- QT_NO_DATETIMEEDIT *Undefined*
-- QT_NO_DIALOG *Undefined*
-- QT_NO_ERRORMESSAGE *Undefined*
-- QT_NO_FILEDIALOG *Undefined*
-- QT_NO_FONTDIALOG *Undefined*
-- QT_NO_GROUPBOX *Undefined*
-- QT_NO_LCDNUMBER *Undefined*
-- QT_NO_LINEEDIT *Undefined*
-- QT_NO_LISTVIEW *Undefined*
-- QT_NO_MAINWINDOW *Undefined*
-- QT_NO_MENUBAR *Undefined*
-- QT_NO_MESSAGEBOX *Undefined*
-- QT_NO_PRINTDIALOG *Undefined*
-- QT_NO_PROGRESSBAR *Undefined*
-- QT_NO_PROGRESSDIALOG *Undefined*
-- QT_NO_PUSHBUTTON *Undefined*
-- QT_NO_RADIOBUTTON *Undefined*
-- QT_NO_SCROLLBAR *Undefined*
-- QT_NO_SLIDER *Undefined*
-- QT_NO_STYLE_PLASTIQUE *Undefined*
-- QT_NO_STYLE_WINDOWSXP [Defined]
-- QT_NO_STYLE_WINDOWS *Undefined*
-- QT_NO_STYLE_MAC [Defined]
-- QT_NO_STYLE_CLEANLOOKS *Undefined*
-- QT_NO_TABLEVIEW *Undefined*
-- QT_NO_TEXTBROWSER *Undefined*
-- QT_NO_TEXTEDIT *Undefined*
-- QT_NO_TOOLBUTTON *Undefined*
/usr/include
-- Found QScintilla2: /usr/lib/libqscintilla2.so
-- Build SmokeQt bindings: Phonon;QImageBlitz;QScintilla;Qt3Support;QtDBus;QtDeclarative;QtGui;QtHelp;QtMultimedia;QtNetwork;QtOpenGL;QtScript;QtSql;QtSvg;QtTest;QtUiTools;QtWebKit;QtXml;QtXmlPatterns;Qwt
-- Skip SmokeQt bindings:
-- Build SmokeKDE bindings: Akonadi;Attica;KDECore;KDEUi;KFile;KHTML;KIO;KNewStuff2;KNewStuff3;KParts;KTextEditor;KUtils;Nepomuk;Okular;Plasma;Solid;Soprano
-- Skip SmokeKDE bindings: Kate
-- looking for config.h
-- Found Ruby: /usr/bin/ruby
-- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Ruby Executable: /usr/bin/ruby
-- Ruby Libraries: /usr/lib/libruby.so
-- Ruby Include Directories: /usr/include/ruby-1.9.1/usr/include/ruby-1.9.1/armv5tel-linux-eabi
-- Build QtRubyModules bindings: Phonon;QScintilla;QtDeclarative;QtScript;QtTest;QtUiTools;QtWebKit;Qwt
-- Skip QtRubyModules bindings:
-- rbuic4 not found, ruby-clock will not created
-- rbuic4 not found, ruby-digital-clock will not created
-- Performing Test RubyCompiles
-- Performing Test RubyCompiles - Success
-- Ruby Executable: /usr/bin/ruby
-- Ruby Libraries: /usr/lib/libruby.so
-- Ruby Include Directories: /usr/include/ruby-1.9.1/usr/include/ruby-1.9.1/armv5tel-linux-eabi
-- Build KorundumModules bindings: Akonadi;Nepomuk;Okular;Soprano
-- Skip KorundumModules bindings: Kate;KrossRuby
-- Build Ruby bindings: Korundum;QtRuby
-- Skip Ruby bindings:
-- Found PythonInterp: /usr/bin/python2.7
-- Found Python executable: /usr/bin/python2.7
-- Found Python version: 2.7.2
-- Found Python library: /usr/lib/libpython2.7.so
-- Found Python executable: /usr/bin/python2.7
-- Found Python version: 2.7.2
-- Found Python library: /usr/lib/libpython2.7.so
-- Python Libraries: /usr/lib/libpython2.7.so
-- Python Include Path: /usr/include/python2.7
-- Build Kross Python... yes
-- Found SIP version: 4.12.3
-- Found PyQt4 version: 4.8.4
-- Found Python executable: /usr/bin/python2.7
-- Found Python version: 2.7.2
-- Found Python library: /usr/lib/libpython2.7.so
-- Found PyQt4 version: 4.8.4
-- KDE_VERSION: 4.6.3
-- KDE4_INCLUDE_DIR: /usr/include
-- KDE4_LIB_DIR: /usr/lib
-- PYTHON_SITE_PACKAGES_INSTALL_DIR: /usr/lib/python2.7/site-packages
-- Build PyKDE4... yes
-- Path of mono: /usr/bin/mono
-- Path of gmcs: /usr/bin/gmcs
-- Path of gacutil: /usr/bin/gacutil
-- checking for one of the modules 'mono-cecil'
-- checking for one of the modules 'cecil'
-- Using GAC dir: /usr/lib/mono
-- checking for one of the modules 'mono-2;mono'
-- checking for one of the modules 'glib-2.0'
-- checking for module 'monodoc'
-- found monodoc, version 2.10.2
-- Build CSharpBindings bindings: Akonadi;KHTML;KTextEditor;Kimono;Nepomuk;Phonon;Plasma;QImageBlitz;QScintilla;QtScript;QtTest;QtUiTools;QtWebKit;Qyoto;Soprano
-- Skip CSharpBindings bindings:
-- Found PerlLibs: /usr/lib/perl5/core_perl/CORE/libperl.so (found version "5.12.3")
-- Found QScintilla2: /usr/lib/libqscintilla2.so
-- Perl headers found: /usr/lib/perl5/core_perl/CORE
-- Perl headers found: /usr/lib/perl5/core_perl/CORE
-- Build Perl bindings: Akonadi;Attica;KDECore;KDEUi;KFile;KHTML;KIO;KNewStuff2;KNewStuff3;KParts;KTextEditor;KUtils;Nepomuk;Okular;Phonon;Plasma;QImageBlitz;QScintilla;Qt3Support;QtDBus;QtDeclarative;QtGui;QtHelp;QtMultimedia;QtNetwork;QtOpenGL;QtScript;QtSql;QtSvg;QtTest;QtUiTools;QtWebKit;QtXml;QtXmlPatterns;Qwt;Solid;Soprano
-- Skip Perl bindings: Kate

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
* Qwt5 for Qt4 - Qwt5 libraries for Qt4
* QScintilla2 - QScintilla2 libraries
* Phonon - Phonon multimedia framework
* QImageBlitz - QImageBlitz library
* Soprano - Soprano libraries
* Shared desktop ontologies - Support for the Nepomuk semantic desktop system
* Nepomuk - Nepomuk libraries
* kdepimlibs - KDE PIM libraries
* Akonadi - Akonadi libraries
* Okular - Okular libraries
* libattica - LibAttica
* Soprano - Soprano Libraries
* Soprano - Soprano Libraries
* Soprano - Soprano Libraries
* Ruby - Ruby interpreter and libraries
* Soprano - Soprano Libraries
* Nepomuk - Nepomuk Libraries
* Kdepimlibs - KDE pim Libraries
* C# compiler - Mono or the .NET framework
* libmono - Mono library
* QScintilla2 - QScintilla2 libraries
* QImageBlitz - QImageBlitz library
* Phonon - Phonon multimedia framework
* Soprano - Soprano libraries
* Nepomuk - Nepomuk libraries
* kdepimlibs - KDE PIM libraries
* Akonadi - Akonadi libraries
* Okular - Okular libraries
* libattica - LibAttica
* Qwt5 for Qt4 - Qwt5 libraries for Qt4

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
* Polkit-Qt <kdesupport>
Qt Wrapper around PolicyKit
Required to build PolicyKit-Qt support

-----------------------------------------------------------------------------

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SOPRANO_INDEX_LIBRARIES (ADVANCED)
linked by target "soprano-sharp" in directory /var/abs/extra/kdebindings/src/kdebindings-4.6.3/csharp/soprano

-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
[root@Arch Linux ARM install kdebindings]#
')

AFAIK, I need only kdebindings-python, so I also tried using makepkg -Acs --asroot --pkg kdebindings-python, which created the exact same line-by-line results.

I searched for "SOPRANO_INDEX_LIBRARIES" and "soprano-sharp" on archlinuxarm.org and archlinux.org with absolutely no results returned. A general Google search for those terms did not yield any information that helped with troubleshooting. The error message pointed to the CMakeList.txt file on /var/abs/extra/kdebindings/src/kdebindings-4.6.3/csharp/soprano, which contained:
$this->bbcode_second_pass_code('', 'PROJECT(soprano-sharp)

FIND_PACKAGE(Soprano REQUIRED)

IF (NOT SOPRANO_FOUND)
FIND_PACKAGE(Soprano REQUIRED)
ENDIF (NOT SOPRANO_FOUND)

IF (NOT QT4_FOUND)
FIND_PACKAGE(Qt4 REQUIRED)
ENDIF (NOT QT4_FOUND)

SET(SRC_CPP src/soprano.cpp src/sopranohandlers.cpp)

SET(SRC_CS src/AssemblyInfo.cs
src/Soprano.cs
soprano/*.cs)

INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/generator
${CMAKE_CURRENT_SOURCE_DIR}/../qyoto/src ${QT_INCLUDES})
LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
ADD_LIBRARY(soprano-sharp SHARED ${SRC_CPP})
ADD_DEPENDENCIES(soprano-sharp smokesoprano)
TARGET_LINK_LIBRARIES(soprano-sharp smokesoprano qyoto ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${SOPRANO_LIBRARIES} ${SOPRANO_INDEX_LIBRARIES}
${SOPRANO_CLIENT_LIBRARIES} ${SOPRANO_SERVER_LIBRARIES})

CSHARP_ADD_LIBRARY(soprano "${SRC_CS}" REFERENCES qt-dotnet COMPILE_FLAGS /warn:0 /keyfile:${KEYFILE})
ADD_DEPENDENCIES(soprano qt-dotnet soprano-sharp)

INSTALL(TARGETS soprano-sharp LIBRARY DESTINATION ${LIB_INSTALL_DIR})
INSTALL_ASSEMBLY(soprano DESTINATION ${LIB_INSTALL_DIR} PACKAGE qyoto)
')
(As a side note, I do have polkit-qt 0.99.0-1 installed, so I don't know why that optional package was not found)

There seems to be 2 possible solutions: create a custom PKGBUILD that builds only kdebindings-python or solve the problem with soprano-sharp. Unfortunately, my Linux skills are rudimentary and I don't know how to tackle either of those projects. Any suggestions on next steps or alternative approaches?

BTW, I am happy to share privately the builds that I created for pyqt and python2-pyqt. After I get kmymoney working, I'll upload all the builds so they are publicly available.

Thanks!
jambo
 
Posts: 12
Joined: Fri Jun 17, 2011 7:37 pm

Re: Xorg, LXDE, VNC, and KDE apps

Postby kmihelich » Tue Jun 28, 2011 1:25 am

Didn't realize pyqt got jammed up in our autobuilder. Corrected that issue and it's packaged. The rest of the packages that depend on it, and that others depend on, will be built and in the repo sometime tonight or tomorrow morning.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Next

Return to User Questions

Who is online

Users browsing this forum: No registered users and 18 guests