LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-22-2004, 10:23 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Problem on installing kdebase3 from ports


Hi folks,

FreeBSD 5.2

Because missing nspluginscan executable on Konqueror resulting in plugin could not be scanned.

# ls /opt/mozilla/plugins/
flashplayer.xpt libflashplayer.so

I tried to install kdebase3

# cd /usr/ports/x11/kdebase3
# make install clean
......
....
Receiving kdebase-3.2.2.tar.bz2 (17216476 bytes): 100% (ETA 00:00)
17216476 bytes transferred in 61.5 seconds (273.28 kBps)
===> Extracting for kdebase-3.2.2_1
>> Checksum OK for KDE/kdebase-3.2.2.tar.bz2.
===> Patching for kdebase-3.2.2_1
===> Applying FreeBSD patches for kdebase-3.2.2_1
===> kdebase-3.2.2_1 depends on executable: mkfontdir - found
===> kdebase-3.2.2_1 depends on file: /usr/X11R6/bin/moc - found
===> kdebase-3.2.2_1 depends on executable: gmake - found
===> kdebase-3.2.2_1 depends on shared library: smbclient - found
===> kdebase-3.2.2_1 depends on shared library: kwalletbackend - not found
===> Verifying install for kwalletbackend in /usr/ports/x11/kdelibs3
Dependency warning: used OpenSSL version contains known vulnerabilities
Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
*** Error code 1

Stop in /usr/ports/x11/kdelibs3.
*** Error code 1

Stop in /usr/ports/x11/kdebase3.
*** Error code 1

Stop in /usr/ports/x11/kdebase3.

# pkg_info | grep openssl
# pkg_info | grep OpenSSL
both no printout

Whether to install OpenSSL from ports.

OR

How/where to define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT

Kindly advise. TIA

B.R.
satimis
 
Old 05-22-2004, 02:40 PM   #2
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
you cvsup lately? what tag are you using?
 
Old 05-22-2004, 07:59 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by 5amYan
you cvsup lately? what tag are you using?
Hi,

I could not remember exactly. I think I applied '-g' only

cat /usr/local/etc/cvsup/ports-supfile
*default host=cvsup2.tw.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

cat /usr/local/etc/cvsup/stable-supfile
*default release=cvs tag=RELENG_5_2
*default delete use-rel-suffix
*default compress
src-all
doc-all
www

B.R.
satimis
 
Old 05-23-2004, 01:25 AM   #4
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Unless your actually going to be having hostile users sitting at your pc or are planning to run openssl open to the internet i would just compile it with either one of the tags.

That or cvsup the ports tree then try a portupgrade -aRr. Then try that port again. I would strongly advise the portupgrade if you have not done so.

Last edited by Stack; 05-23-2004 at 01:36 AM.
 
Old 05-23-2004, 02:49 AM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
make WITH_OPENSSL_BASE=yes install clean
 
Old 05-23-2004, 07:43 AM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi Stack,

FreeBSD 5.2

Quote:
Unless your actually going to be having hostile users sitting at your pc or are planning to run openssl open to the internet i would just compile it with either one of the tags.
Noted with tks.

Quote:
That or cvsup the ports tree then try a portupgrade -aRr. Then try that port again. I would strongly advise the portupgrade if you have not done so.
I have not done portupgrade after installing the OS. I am prepared to run portupgrade which is completely new to me. However before starting I have following 2 points to clarify;

1) I am running FreeBSD on a slow machine, AMD-K6 350. It may take lengthy time to run portupgrade from source. Is there an alternative or justing leaving the machine to run until finish.

2) I am worrying portupgrade will also upgrade the config files automatically rendering the OS not working after reboot. Which configure files I need to make backup before running portupgrade.

(Remark: I already have all data files backup)

Kindly advise. TIA

B.R.
satimis
 
Old 05-23-2004, 07:44 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by mrcheeks
make WITH_OPENSSL_BASE=yes install clean
Hi mrcheeks,

Your advice noted with thanks.

B.R.
satimis
 
Old 05-23-2004, 09:38 AM   #8
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
1). Running portupgrade will slow down your computer but it will not make it unusable. You *should* still be able to work on whatever you are doing etc... Start it before you go to sleep and depending on how many ports need to be upgraded it might be done before you wake up.

2). Should not be a problem.
 
Old 05-24-2004, 11:40 AM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by Stack
1). Running portupgrade will slow down your computer but it will not make it unusable. You *should* still be able to work on whatever you are doing etc... Start it before you go to sleep and depending on how many ports need to be upgraded it might be done before you wake up.

2). Should not be a problem.
Hi Stack,

Tks for your advice.

# portupgrade -aRrvO

It could not be totally unattended. Input of selections were required in the course. Without entry the PC just stood idle there. It took about 19 hours to complete with following warning popup at end;

Code:
.....
......
Backing up the old version

/var: write failed, filesystem is full

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: No space left on device
        Input file = (stdin), output file = (stdout)
** Backup failed.
--->  Uninstallation of linux_base-7.1_5 ended at: Mon, 24 May 2004 22:20:19 +0800 (consumed 00:00:09)
--->  Upgrade of emulators/linux_base ended at: Mon, 24 May 2004 22:20:19 +0800 (consumed 00:18:22)
[Updating the pkgdb <format:dbm_hash> in /var/db/pkg ... - 260 packages found (-0 +2) ..
/var: write failed, filesystem is full
--->  Session ended at: Mon, 24 May 2004 22:20:22 +0800 (consumed 20:46:59)
/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:241:in `origin': dbm_store failed: Cannot update the pkgdb!] (PkgDB::DBError)
        from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin'
        from /usr/local/sbin/portupgrade:709:in `do_upgrade'
        from /usr/local/sbin/portupgrade:686:in `main'
        from /usr/local/sbin/portupgrade:685:in `each'
        from /usr/local/sbin/portupgrade:685:in `main'
        from /usr/local/sbin/portupgrade:207:in `initialize'
        from /usr/local/sbin/portupgrade:207:in `new'
        from /usr/local/sbin/portupgrade:207:in `main'
        from /usr/local/sbin/portupgrade:1846
#
Reboot PC. Gnome could not be started with a warning something like server configure error.....

I have no chance to write down the complete warning because it jumped to another empty window after a while. Nor I have an editor to copy the warning down.

KDE started properly. Following problems were found.

1)
# /usr/src/etc/periodic/weekly/310.locate updatedb

Rebuilding locate database:
/var: write failed, filesystem is full
cat: stdout: No space left on device

2)
# df
Code:
Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
/dev/ad4s1a    253678   45872   187512    20%    /
devfs               1       1        0   100%    /dev
/dev/ad4s1e    253678    4672   228712     2%    /tmp
/dev/ad4s1f  36354884 4619692 28826802    14%    /usr
/dev/ad4s1d    253678  249478   -16094   107%    /var
3)
# portsclean -C
portsclean: Command not found

# cd /usr/ports
# make search name=portsclean
No printout

4) On KDE desktop
Konsole window - Font characters being huge
Settings -> Font -> Custom
started 'request font' window. It was possible to select font.

But
Settings -> Save Settings
seemed having no function. On starting a new Konsole window fonts were still huge.

That were the mistakes having been discovered. Others unknown yet.

Kindly advise.
1) How to free space. The HD is of 40 G in size solely for FreeBSD 5.2
2) Where can I find 'portsclean' package
3) How to discover the cause of failure in starting Gnome
4) How to set fonts on Konsole window

TIA

B.R.
satimis
 
Old 05-24-2004, 12:27 PM   #10
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
Quote:
Originally posted by satimis

1) How to free space. The HD is of 40 G in size solely for FreeBSD 5.2
2) Where can I find 'portsclean' package
3) How to discover the cause of failure in starting Gnome
4) How to set fonts on Konsole window

1) kindly delete what is not needed, distfiles, etc...
2) look for pkgtools or find it with google
3) look in your console
4) look in konsole menus...plz
 
Old 05-26-2004, 09:40 PM   #11
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally posted by mrcheeks
1) kindly delete what is not needed, distfiles, etc...
2) look for pkgtools or find it with google
3) look in your console
4) look in konsole menus...plz
Hi mrcheeks,

Tks for your advice.

Action taken as follows. Problem is now partitially solved.

Following files on /var/tmp/ taking up large space and removed.

# ls -lh
Code:
total 192544
-rw-r--r--  1 satimis  wheel      2.3M May 14 22:26
tmp.0.QQlif7
-rw-r--r--  1 satimis  wheel      2.3M May 14 22:24
tmp.0.dr0vBP
-rw-r--r--  1 satimis  wheel      2.3M May 15 15:58
tmp.0.kDy79T
-rw-r--r--  1 satimis  wheel      2.3M May 14 22:29
tmp.0.lu8h4X
-rw-r--r--  1 satimis  wheel       26M May 14 22:26
tmp.1.Egne6s
-rw-r--r--  1 satimis  wheel       72M May 14 22:25
tmp.1.JW15qD
-rw-r--r--  1 satimis  wheel       32M May 14 22:29
tmp.1.nNXAdw
-rw-r--r--  1 satimis  wheel       48M May 15 15:59
tmp.1.xygGQv
.....
I have no idea what they are and when they were
created.

Now
# df
Code:
Filesystem  1K-blocks    Used    Avail Capacity 
Mounted on
/dev/ad4s1a    253678   45872   187512    20%    /
devfs               1       1        0   100%    /dev
/dev/ad4s1e    253678    4672   228712     2%    /tmp
/dev/ad4s1f  36354884 4807654 28638840    14%    /usr
/dev/ad4s1d    253678   57664   175720    25%    /var
After rebooting the PC, Gnome revived. Still have
some minor problems, such as on KDE desktop Konsole
window, selected fonts unable to save (saving settings
having no function)

B.R.
satimis
 
  


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
problem installing Java from ports zibo *BSD 1 06-15-2005 02:59 PM
Installing from PORTS, No internet BizHat.com *BSD 6 05-17-2005 04:42 AM
kdebase3-3.03 i586rpm failed on suse 9.2 install blink_00 Linux - Newbie 0 02-17-2005 11:29 AM
Installing Java from FreeBSD ports. darksky *BSD 4 11-13-2003 10:38 AM
Installing XFree86 from BSD ports JHuizingh Linux - Software 2 02-14-2002 02:25 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 11:59 PM.

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