LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-30-2006, 06:28 PM   #1
lank23
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Rep: Reputation: 0
Angry Pikdev install issues on debian


Hello.

I am trying to install Pikdev but when I try to run the deb package I get an error that libqt3-mt is not installed, so when I try to install it via synaptics package manager it tells me that it will have to remove, upgrade, and install 90 percent of the files on the PC. How can I get around this issue.

Also tried to compile the source, but when I run the configure script, I get and error that the X includes are not found.

detro Debian Sarge 3.1 with KDE 3.3

Thanks for the help

lank23
 
Old 10-31-2006, 11:53 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by lank23
Hello.

I am trying to install Pikdev but when I try to run the deb package I get an error that libqt3-mt is not installed, so when I try to install it via synaptics package manager it tells me that it will have to remove, upgrade, and install 90 percent of the files on the PC. How can I get around this issue.

Also tried to compile the source, but when I run the configure script, I get and error that the X includes are not found.

detro Debian Sarge 3.1 with KDE 3.3

Thanks for the help

lank23
Can you show us the output of the configure command? Generally what you need to do is use apt-cache search x dev to find the development files packages for X then install whichever one you think you would need. Installing apt-file can help in this process by finding which package(s) contain the file that the ./configure says is missing. It works similar to apt-get in that you run apt-file update as root then you can use apt-file search file/missing.h for example as normal user to find the package(s) containing that file.
 
Old 10-31-2006, 09:23 PM   #3
lank23
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Here is the configure output.

debian:/home/lank23/src/PIKdev/pikdev-0.8.4# ./configure --prefix=/usr --with-qt-dir=/usr/share/qt3 --with-qt-includes=/usr/include/qt3 --with-qt-libraries=/usr/lib/qt3 --with-extra-libs=/usr/lib/kde3 --enable-libsuffix=
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
not using lib directory suffix
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... no
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries no
error: Can't find X includes. Please check your installation and add the correct paths!

thanks
lank23
 
Old 10-31-2006, 10:14 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Alright I doubt you need all that for the ./configure command I tried it here and it finds the QT files fine without the extra options. I did a quick search at packages.debian.org and the X development files are named the same regardless which branch they are in so install the x-dev package and it should pull in the libs you need.
 
Old 11-01-2006, 04:42 PM   #5
lank23
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the info, now that I got past the X-includes issue I have a new problem. See below new configure output.

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... no
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.

So I searched for the "libXent" package, and did not find it but did find the "libXent6" package that is installed on the machine. This makes me wonder why it will not work.

If I try to install the "libXent-dev" package, Synaptic Package Manager tells me will install/upgrade 70 packages, remove 309 packages!!!!!!



lank23
 
Old 11-01-2006, 05:00 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by lank23
Thanks for the info, now that I got past the X-includes issue I have a new problem. See below new configure output.

checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... no
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.

So I searched for the "libXent" package, and did not find it but did find the "libXent6" package that is installed on the machine. This makes me wonder why it will not work.

If I try to install the "libXent-dev" package, Synaptic Package Manager tells me will install/upgrade 70 packages, remove 309 packages!!!!!!



lank23
Well I would say you have more than just Sarge in your sources.list then. What is the output of apt-cache policy libxext-dev? The reason it will not work with the libxext6 package is that it is just a regular compiled package not a header library that is needed to compile a package these on Debian usually have a -dev (development) in the package name.
 
Old 11-02-2006, 08:35 PM   #7
lank23
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
debian:/home/lank23# apt-cache policy libxext-dev
libxext-dev:
Installed: (none)
Candidate: 1:1.0.1-2
Version Table:
1:1.0.1-2 0
500 http://ftp.au.debian.org testing/main Packages
4.3.0.dfsg.1-14sarge2 0
500 http://security.debian.org stable/updates/main Packages
4.3.0.dfsg.1-14sarge1 0
500 http://mirrors.kernel.org stable/main Packages


lank23
 
Old 11-02-2006, 08:57 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by lank23
debian:/home/lank23# apt-cache policy libxext-dev
libxext-dev:
Installed: (none)
Candidate: 1:1.0.1-2
Version Table:
1:1.0.1-2 0
500 http://ftp.au.debian.org testing/main Packages
4.3.0.dfsg.1-14sarge2 0
500 http://security.debian.org stable/updates/main Packages
4.3.0.dfsg.1-14sarge1 0
500 http://mirrors.kernel.org stable/main Packages


lank23

That is what I thought you should not have that line for testing in there if you need newer packages then try www.backports.org they have newer versions built for sarge that you can install. Back to the problem at hand you should try as root apt-get install libxext-dev=4.3.0.dfsg.1-14sarge2, now hopefully your system is still mostly sarge and you are running Xfree86 and not Xorg as that would mean your system is mostly a testing one now. You can check with apt-cache policy libc6 and apt-cache policy xserver-xorg.
 
Old 11-03-2006, 04:55 PM   #9
lank23
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
First, thanks for the help, below is the output from apt.


debian:/home/lank23# apt-get install libxext-dev=4.3.0.dfsg.1-14sarge2
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libxext-dev: Depends: libxext6 (= 4.3.0.dfsg.1-14sarge2) but 4.3.0.dfsg.1-14sarge1 is to be installed
Depends: x-dev but it is not going to be installed
pikdev: Depends: libqt3-mt but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

My system is running XFree86. I checked out backport and added them to the apts list, but even with there backport version of libxext-dev, still the same issue of remove alot of files and then install /upgrade....

lank23
 
Old 11-03-2006, 05:06 PM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by lank23
First, thanks for the help, below is the output from apt.


debian:/home/lank23# apt-get install libxext-dev=4.3.0.dfsg.1-14sarge2
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libxext-dev: Depends: libxext6 (= 4.3.0.dfsg.1-14sarge2) but 4.3.0.dfsg.1-14sarge1 is to be installed
Depends: x-dev but it is not going to be installed
pikdev: Depends: libqt3-mt but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

My system is running XFree86. I checked out backport and added them to the apts list, but even with there backport version of libxext-dev, still the same issue of remove alot of files and then install /upgrade....

lank23
Ok in situations like this you need to keep adding the packages apt complains about to the command line so you would now. apt-get -s install libxext-dev=4.3.0.dfsg.1-14sarge2 libxext6=4.3.0.dfsg.1-14sarge2 x-dev=4.3.0.dfsg.1-14sarge2 libqt3-mt libqt3-mt-dev ..... this is the specify a solution it talks about. Doing this along with a bit of apt-cache policy package_name will get you the =package_number-1.2.3 that you may need to put with each package. If you have removed the testing line from your sources.list you might want to do an apt-get upgrade or dist-upgrade to get the packages form the security updates installed as this seems to be what most of these X packages are from your output above.

Last edited by HappyTux; 11-03-2006 at 05:07 PM.
 
Old 11-04-2006, 08:29 PM   #11
lank23
LQ Newbie
 
Registered: Sep 2006
Posts: 11

Original Poster
Rep: Reputation: 0
HappyTux;

I gave up on trying to figure out was was keeping from installing, so I got my back up hard drive and reinstalled Debian then I got Pikdev to install perfectly. So I guess I will have to figure it out what is different. Thanks for the help.

lank23
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon 9700 Pro on Debian - fglrx install issues Dtsazza Linux - Hardware 2 01-25-2006 04:37 PM
Debian from Knoppix HD install driver issues jmoschetti45 Linux - Laptop and Netbook 3 10-04-2004 05:47 AM
various issues with debian install rjstephens Debian 2 06-30-2004 10:57 AM
Debian Sid install using Knoppix Issues EwanG Debian 2 05-27-2004 08:52 AM
Debian install issues (dhcp) mattwtf Linux - Newbie 1 05-30-2003 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration