LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 11-18-2004, 07:45 AM   #1
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
pkg_add error with qt-3.2.1


I have tried an initial install of FreeBSD 5.2.1 several times, and each time it tries to add the qt-3.2.1 package (for KDE). Each time, however, it is extracted successfully, but pkg_add will exit with a status 1. The install was off of a CD, so I tried putting all of the CD files onto a DOS partition, replacing qt-3.2.1 with the one on the FreeBSD site, and installed from there. I got the same result. FreeBSD works fine, and the other window managers work fine, however not having this package installed prevents KDE from working. Thanks.
ta0kira
 
Old 11-20-2004, 02:41 AM   #2
mdixon
LQ Newbie
 
Registered: Oct 2003
Location: Perth, Western Australia
Distribution: Fedora & FreeBSD
Posts: 14

Rep: Reputation: 2
Hello Ta0kira,

It seems other people are having problems with qt-3.2.1, including someone else using FreeBSD [http://freebsd.kde.org/pipermail/kde...er/005813.html]
someone using Debian [http://lists.debian.org/debian-qt-kd.../msg00005.html] and somone using SuSE [http://lists.suse.com/archive/suse-k...-Oct/0013.html]

None of these three had solutions posted when I read them. So, are you able to obtain the previous release, install it, and retry your KDE? Let us know how you go.

Alternatively, you could try going up to qt 3.3.3 I see from my FreeBSD 5.3 Ports tree that qt 3.3.3 is the one packaged to work with KDE now. This might be a better bet than going back release.

Last edited by mdixon; 11-20-2004 at 02:49 AM.
 
Old 11-21-2004, 11:40 AM   #3
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
Good idea. I downloaded qt-3.3.3.tgz from FreeBSD. I think I'll have to rename it to 3.2.1 then do a DOS partition install. That is so I can set up KDE right off the install. I'll let you know if it works. Thanks.
ta0kira
 
Old 11-22-2004, 05:16 AM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
Here is what I did (that sounded good, but didn't work):

1. loaded both install CDs to a DOS partition.
2. renamed qt-3.2.1.tbz to qt-3.2.1.tbz~ in packages/all
3. downloaded qt-3.3.3.tgz from FreeBSD
4. converted qt-3.3.3.tgz to a BZipped file and named it qt-3.2.1.tbz
5. put the new qt-3.2.1.tbz in the packages/all folder
6. tried to install from the DOS partition

I still got the same error; the package will extract, but pkg_add will give an error 1. For some reason another package causes this now too, and XFree86 won't set up right either. Not sure what the problem is...
ta0kira
 
Old 11-22-2004, 07:34 AM   #5
mdixon
LQ Newbie
 
Registered: Oct 2003
Location: Perth, Western Australia
Distribution: Fedora & FreeBSD
Posts: 14

Rep: Reputation: 2
Could you check a couple of things for me please:

> 5: put the new qt-3.2.1.tbz in the packages/all folder

At this point, please check the directory where you unziped and untared the qt-3.n.n package and see if the following files are present (with ls ): Makefile distinfo files pkg-descr pkg-message pkg-plist

['files', above, is actually a directory, the rest are files].

> 6. tried to install from the DOS partition

Is this how you installed:
$ su [installing ports usually requires superuser]
# make
# make install

I'm also wondering why you refer to a DOS partition. I thought you copied the package to /usr/... directory or something similar. My qt package is actually located under the /usr/ports directory tree. I don't have a packages/all directory and I don't know what that is [I'm quite new to FreeBSD myself].

Last edited by mdixon; 11-23-2004 at 04:34 AM.
 
Old 11-26-2004, 05:57 AM   #6
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
None of those files are present in qt-3.3.3.tgz. I was installing from a DOS partition because instead of trying to install KDE/qt from FreeBSD, I am just redoing the entire thing. I have install CDs, but to replace qt I need to put it on a HD. Thanks.
ta0kira
 
Old 01-29-2005, 02:45 AM   #7
dasein
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 0
hello,

i was looking for an answer to another question but - i have this issue as well... but i do know the cause (kind of) - when i initially installed off the cdrom, i could toggle between the debug screen and the installer progress... when the qt error came up, the debug indicated that it had conflicts with another package (i forgot which one!), and although i was given the option to force the install, i did not choose to do so, not knowing how many other packages relied on this, and most importantly, X... now, i can't figure out how to get the debug window back so i can use the force command or actually what would be smarter is to get the name of the conflicting package and uninstall it and then install qt, but i don't know how to uninstall packages either... as you can tell, i'm new to this. my first installation on my 2nd rig... only used unix in college for email...

**EDIT** it's xfmail which needs to be removed... still can't figure that one out yet...

Last edited by dasein; 01-29-2005 at 02:48 AM.
 
Old 01-29-2005, 06:53 AM   #8
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
I don't see any error from CD ROM Install

I typed the command sysinstall

Selected KDE desktop and QT packages from 1st CD of FreeBSD 5.3.x and i'm done

And also you need to setup QTDIR to compile it see http://www.cyberciti.biz/nixcraft/vi...n-with-qt.html

Last edited by nixcraft; 01-29-2005 at 06:56 AM.
 
Old 05-12-2005, 12:55 AM   #9
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
I finally got around to sitting down and figuring it out. The xmail package was installed before qt was and there is a conflict between the 2, so I just did 'pkg_add -f qt-3.2.1.tbz' which forced the install.
ta0kira
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Error on pkg_add on openbsd 3.8 klemen *BSD 0 10-06-2005 11:56 AM
how to add pkg_add powah Linux - Software 3 09-20-2005 11:59 AM
pkg_add -r apache+mod_ssl ub3rj3phf *BSD 1 12-02-2004 02:17 AM
OpenBSD 3.6 FTP pkg_add failed... gani *BSD 2 11-22-2004 08:06 AM
Difference between ports and pkg_add?? proton666 *BSD 2 11-21-2004 05:05 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration