FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-01-2008, 12:15 PM
Paul Cartwright
 
Default ksudoku fails to compile or start

ksudoku stopped working recently. I have Debian Lenny
$ uname -a
Linux paulandcilla 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686
GNU/Linux


I can aptitude remove/install the package, but all I get is segfault when I
run it. I downloaded the source and tried to install it and I get this:
# cmake . -DCMAKE_INSTALL_PREFIX:PATH=`kde-config --prefix`
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.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
-- Didn't find KDE3 headers
-- Didn't find KDE3 core library
-- Didn't find the KDE3 dcopidl preprocessor
-- Didn't find the KDE3 dcopidl2cpp preprocessor
-- Didn't find the KDE3 kconfig_compiler preprocessor
CMake Error: Could NOT find everything required for compiling KDE 3 programs
-- Configuring done
#
and:
# kde-config --prefix
/usr


--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-01-2008, 02:24 PM
Sven Joachim
 
Default ksudoku fails to compile or start

On 2008-02-01 14:15 +0100, Paul Cartwright wrote:

> ksudoku stopped working recently. I have Debian Lenny
> $ uname -a
> Linux paulandcilla 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686
> GNU/Linux
>
>
> I can aptitude remove/install the package, but all I get is segfault when I
> run it.

It runs fine for me.

> I downloaded the source and tried to install it and I get this:
> # cmake . -DCMAKE_INSTALL_PREFIX:PATH=`kde-config --prefix`
> -- Check for working C compiler: /usr/bin/gcc
> -- Check for working C compiler: /usr/bin/gcc -- works
> -- Check size of void*
> -- Check size of void* - done
> -- Check for working CXX compiler: /usr/bin/c++
> -- Check for working CXX compiler: /usr/bin/c++ -- works
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
> -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.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
> -- Didn't find KDE3 headers
> -- Didn't find KDE3 core library
> -- Didn't find the KDE3 dcopidl preprocessor
> -- Didn't find the KDE3 dcopidl2cpp preprocessor
> -- Didn't find the KDE3 kconfig_compiler preprocessor
> CMake Error: Could NOT find everything required for compiling KDE 3 programs

Did you install the build-dependencies for ksudoku, e.g. with
"apt-get build-dep ksudoku"? It looks as if kdelibs4-dev is missing.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-01-2008, 02:53 PM
Paul Cartwright
 
Default ksudoku fails to compile or start

On Fri February 1 2008, Sven Joachim wrote:
> Did you install the build-dependencies for ksudoku, e.g. with
> "apt-get build-dep ksudoku"? *It looks as if kdelibs4-dev is missing.

apt-get didn't work, and aptitude install kdelibs4-dev required way too many
other files to be installed.

# apt-get build-dep ksudoku
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could not open
file /var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20Multi-architecture%20i386_amd64_powerpc_source%20DVD%20% 231%2020070407-12:57_dists_stable_contrib_source_Sources -
open (2 No such file or directory)
#
# aptitude install kdelibs4-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following packages are BROKEN:
gamin libgamin0
The following packages have been kept back:
virtualbox-ose
The following NEW packages will be installed:
fam{a} hspell{a} kdelibs4-dev libacl1-dev{a} libart-2.0-dev{a}
libarts1-dev{a} libartsc0-dev{a} libasound2-dev{a} libaspell-dev{a}
libaudio-dev{a} libaudiofile-dev{a} libavahi-client-dev{a}
libavahi-common-dev{a} libavahi-qt3-dev{a} libbz2-dev{a} libdbus-1-dev{a}
libesd0-dev{a} libfam-dev{a} libfam0{a} libgl1-mesa-dev{a}
libglu1-mesa-dev{a} libidn11-dev{a} libjack-dev{a} libjack0.100.0-dev{a}
libjasper-dev{a} liblcms1-dev{a} liblua50-dev{a} liblualib50-dev{a}
libmad0-dev{a} libmng-dev{a} libogg-dev{a} libopenexr-dev{a}
libpcre3-dev{a} libqt3-compat-headers{a} libqt3-headers{a}
libqt3-mt-dev{a} libsasl2-dev{a} libtiff4-dev{a} libtiffxx0c2{a}
libvorbis-dev{a} libxml2-dev{a} libxmu-dev{a} libxmu-headers{a}
libxslt1-dev{a} libxt-dev{a} lua50{a} mesa-common-dev{a} qt3-dev-tools{a}
0 packages upgraded, 48 newly installed, 0 to remove and 1 not upgraded.
Need to get 13.4MB of archives. After unpacking 50.1MB will be used.
The following packages have unmet dependencies:
gamin: Conflicts: fam but 2.7.0-13 is to be installed.
libgamin0: Conflicts: libfam0c102 but it is not installable
Conflicts: libfam0 but 2.7.0-13 is to be installed.
Resolving dependencies...
The following actions will resolve these dependencies:

Install the following packages:
libgamin-dev [0.1.9-2 (testing)]

Keep the following packages at their current version:
fam [Not Installed]
libfam-dev [Not Installed]
libfam0 [Not Installed]

Score is 68

Accept this solution? [Y/n/q/?] ah, NO.


--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
 
Old 02-01-2008, 03:33 PM
Sven Joachim
 
Default ksudoku fails to compile or start

On 2008-02-01 16:53 +0100, Paul Cartwright wrote:

> On Fri February 1 2008, Sven Joachim wrote:
>> Did you install the build-dependencies for ksudoku, e.g. with
>> "apt-get build-dep ksudoku"? *It looks as if kdelibs4-dev is missing.
>
> apt-get didn't work, and aptitude install kdelibs4-dev required way too many
> other files to be installed.
>
> # apt-get build-dep ksudoku
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Could not open
> file /var/lib/apt/lists/Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20Multi-architecture%20i386_amd64_powerpc_source%20DVD%20% 231%2020070407-12:57_dists_stable_contrib_source_Sources -
> open (2 No such file or directory)

You need an entry for the source packages in your sources.list for
"apt-get build-dep" to work, e.g.

deb-src http://ftp.us.debian.org/debian/ etch main contrib non-free

Replace ftp.us.debian.org by a mirror near to you.

> #
> # aptitude install kdelibs4-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> Building tag database... Done
> The following packages are BROKEN:
> gamin libgamin0
> The following packages have been kept back:
> virtualbox-ose
> The following NEW packages will be installed:
> fam{a} hspell{a} kdelibs4-dev libacl1-dev{a} libart-2.0-dev{a}
> libarts1-dev{a} libartsc0-dev{a} libasound2-dev{a} libaspell-dev{a}
> libaudio-dev{a} libaudiofile-dev{a} libavahi-client-dev{a}
> libavahi-common-dev{a} libavahi-qt3-dev{a} libbz2-dev{a} libdbus-1-dev{a}
> libesd0-dev{a} libfam-dev{a} libfam0{a} libgl1-mesa-dev{a}
> libglu1-mesa-dev{a} libidn11-dev{a} libjack-dev{a} libjack0.100.0-dev{a}
> libjasper-dev{a} liblcms1-dev{a} liblua50-dev{a} liblualib50-dev{a}
> libmad0-dev{a} libmng-dev{a} libogg-dev{a} libopenexr-dev{a}
> libpcre3-dev{a} libqt3-compat-headers{a} libqt3-headers{a}
> libqt3-mt-dev{a} libsasl2-dev{a} libtiff4-dev{a} libtiffxx0c2{a}
> libvorbis-dev{a} libxml2-dev{a} libxmu-dev{a} libxmu-headers{a}
> libxslt1-dev{a} libxt-dev{a} lua50{a} mesa-common-dev{a} qt3-dev-tools{a}
> 0 packages upgraded, 48 newly installed, 0 to remove and 1 not upgraded.
> Need to get 13.4MB of archives. After unpacking 50.1MB will be used.
> The following packages have unmet dependencies:
> gamin: Conflicts: fam but 2.7.0-13 is to be installed.
> libgamin0: Conflicts: libfam0c102 but it is not installable
> Conflicts: libfam0 but 2.7.0-13 is to be installed.
> Resolving dependencies...
> The following actions will resolve these dependencies:
>
> Install the following packages:
> libgamin-dev [0.1.9-2 (testing)]
>
> Keep the following packages at their current version:
> fam [Not Installed]
> libfam-dev [Not Installed]
> libfam0 [Not Installed]
>
> Score is 68
>
> Accept this solution? [Y/n/q/?] ah, NO.

If 13.4 MB of download is too much for you because you're on a slow
dial-up, you may consider purchasing Debian DVDs. The 50 MB and 68
additional packages should not bother you, because aptitude will
automatically deinstall them when you're done with the compilation and
remove the kdelibs4-dev package.

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-01-2008, 04:39 PM
Paul Cartwright
 
Default ksudoku fails to compile or start

On Fri February 1 2008, Sven Joachim wrote:
> If 13.4 MB of download is too much for you because you're on a slow
> dial-up, you may consider purchasing Debian DVDs. *The 50 MB and 68
> additional packages should not bother you, because aptitude will
> automatically deinstall them when you're done with the compilation and
> remove the kdelibs4-dev package.

it wasn't an issue of speed.. I was more worried about a bunch of extra
packages that weren't there before, yet now I need them because of ksudoku?
so I added the kdelibs4-dev and ran the cmake again, success:
# cmake . -DCMAKE_INSTALL_PREFIX:PATH=`kde-config --prefix`
-- Looking for pthread.h
-- Looking for 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 KDE3 include dir: /usr/include/kde
-- Found KDE3 library dir: /usr/lib
-- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl
-- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- DEBUG: OFF
-- intstall prefix: /usr
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pbc/Documents/software/ksudoku-0.4

then I ran :
#make
# make install

from another terminal window:
$ ksudoku
bash: /usr/games/ksudoku: No such file or directory
$ /usr/bin/ksudoku
Segmentation fault

so the make install moved the executable to /usr/bin, yet the system still
thinks it is in /usr/games, and it still doesn't work.



--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
 

Thread Tools




All times are GMT. The time now is 05:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org