15594 [Solved] upgrade on X.Org and WRKDIRPREFIX ? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > X.Org

X.Org X.Org on FreeBSD installation & configuration.

Reply
 
Thread Tools Display Modes
  #1  
Old May 7th, 2009, 06:53
SPlissken's Avatar
SPlissken SPlissken is offline
Member
 
Join Date: Nov 2008
Location: France
Posts: 150
Thanks: 18
Thanked 6 Times in 6 Posts
Default upgrade on X.Org and WRKDIRPREFIX ?

Hello all

I would like to upgrade X.Org but i saw that to compile xorg , 4 Go is required.
Actually i have 3 Go left on /usr after having done portsclean -CDD

will the below commands work to solve my problem ?
export $WRKDIRPREFIX=<directory with more place>
portupgrade -r xorg

Thanks for any answer
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64

Last edited by SPlissken; May 14th, 2009 at 19:22.
Reply With Quote
  #2  
Old May 7th, 2009, 06:58
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Quote:
Originally Posted by SPlissken View Post
will the below commands work to solve my problem ?
export $WRKDIRPREFIX=<directory with more place>
portupgrade -r xorg
If you use bash or sh, yes. If you use (t)csh use setenv WRKDIRPREFIX /place/with/lots/of/room.

Do note that some distfiles might need to be downloaded and stored in /usr/ports/distfiles.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #3  
Old May 7th, 2009, 21:40
SPlissken's Avatar
SPlissken SPlissken is offline
Member
 
Join Date: Nov 2008
Location: France
Posts: 150
Thanks: 18
Thanked 6 Times in 6 Posts
Default

Arg , i'm afraid to launch this command , and break all my nice FreeBSD Desktop...
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64
Reply With Quote
  #4  
Old May 8th, 2009, 05:13
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

I've used $WRKDIRPREFIX in the past without issues. If you're lazy like me, just
# echo "setenv WRKDIRPREFIX /smoot/hawley" >> /etc/csh.cshrc && echo "export WRKDIRPREFIX=/smoot/hawley" >> /etc/profile
Which should make it work whether you're in a login shell or not, regardless of /bin/sh, /bin/csh, /bin/tcsh, or /usr/local/bin/bash.

Elephino what zsh, ksh, or any of sash, ash, mudsh want you do to.
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает
Reply With Quote
  #5  
Old May 12th, 2009, 20:06
SPlissken's Avatar
SPlissken SPlissken is offline
Member
 
Join Date: Nov 2008
Location: France
Posts: 150
Thanks: 18
Thanked 6 Times in 6 Posts
Default

Well it does not work

when i input portgrade -r xorg
it says
Code:
--->  Upgrading 'xorg-7.4' to 'xorg-7.4_2' (x11/xorg)
--->  Building '/usr/ports/x11/xorg'
===>  Cleaning for xorg-7.4_2
This is a meta-port, meaning that it just depends on its subparts of the port.
It won't build and install all the parts until you have typed make install
This port does not ensure things are upgraded; use portupgrade if you want to
upgrade X.Org.  If you simply type 'make install' it may use over 2GB to build
all of the subports.  You can install the ports singly if you are low on space.
===>  Vulnerability check disabled, database not found
===>  Extracting for xorg-7.4_2
===>  Patching for xorg-7.4_2
===>  Configuring for xorg-7.4_2
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'xorg-7.4'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 786 packages found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for xorg-7.4_2
===>   xorg-7.4_2 depends on file: /usr/local/lib/dri/r128_dri.so - found
===>   xorg-7.4_2 depends on file: /usr/local/libdata/pkgconfig/xbitmaps.pc - found
===>   xorg-7.4_2 depends on file: /usr/local/lib/X11/icons/handhelds/cursors/X_cursor - found
===>   xorg-7.4_2 depends on file: /usr/local/share/X11/doc/hardcopy/BDF/bdf.PS.gz - found
===>   xorg-7.4_2 depends on file: /usr/local/libdata/xorg/apps - found
===>   xorg-7.4_2 depends on file: /usr/local/libdata/xorg/libraries - found
===>   xorg-7.4_2 depends on file: /usr/local/libdata/xorg/fonts - found
===>   xorg-7.4_2 depends on file: /usr/local/libdata/xorg/drivers - found
===>   xorg-7.4_2 depends on file: /usr/local/bin/Xorg - found
===>   Generating temporary packing list
===>  Checking if x11/xorg already installed
===>   Registering installation for xorg-7.4_2
===>  Cleaning for xorg-7.4_2
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 787 packages found (-0 +1) . done]
But i m sure xorg is not up to date
pk_version -v gives
Code:
xorg-7.4_2                          =   up-to-date with port
xorg-apps-7.3                       <   needs updating (port has 7.4_1)
xorg-cf-files-1.0.2_2               <   needs updating (port has 1.0.2_3)
xorg-docs-1.4,1                     =   up-to-date with port
xorg-drivers-7.3                    <   needs updating (port has 7.4_2)
xorg-fonts-100dpi-7.3               <   needs updating (port has 7.4)
xorg-fonts-7.3                      <   needs updating (port has 7.4)
xorg-fonts-75dpi-7.3                <   needs updating (port has 7.4)
xorg-fonts-cyrillic-7.3             <   needs updating (port has 7.4)
xorg-fonts-miscbitmaps-7.3          <   needs updating (port has 7.4)
xorg-fonts-truetype-7.3             <   needs updating (port has 7.4)
xorg-fonts-type1-7.3                <   needs updating (port has 7.4)
xorg-libraries-7.3_1                <   needs updating (port has 7.4)
xorg-protos-7.3                     !   Comparison failed
xorg-server-1.4_4,1                 <   needs updating (port has 1.6.1,1)
What is the correct way to upgrade xorg ?
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64

Last edited by DutchDaemon; May 12th, 2009 at 21:30. Reason: [code] tags
Reply With Quote
  #6  
Old May 12th, 2009, 20:45
fronclynne's Avatar
fronclynne fronclynne is offline
Senior Member
 
Join Date: Feb 2009
Location: Lunch Time
Posts: 1,297
Thanks: 132
Thanked 166 Times in 143 Posts
Default

You did: # portupgrade -r xorg, when you wanted to do # portupgrade -R xorg.

Or maybe, if you're not on some hideously slow machine, # portupgrade -fR xorg.


Also, note that x11/xorg is just a meta-port, which can be deleted immediately after it is used to install the actual xorg stuffs.
__________________
Quid habemus reliquum?
Nutrimentum anatum!

Внимание: лифт вниз не поднимает

Last edited by fronclynne; May 12th, 2009 at 20:48. Reason: Notes are from Mars, edits are from Iove
Reply With Quote
The Following User Says Thank You to fronclynne For This Useful Post:
SPlissken (May 12th, 2009)
  #7  
Old May 12th, 2009, 21:31
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,854
Thanks: 30
Thanked 1,892 Times in 1,335 Posts
Default

SPlissken, will you please use [code] tags?
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #8  
Old May 12th, 2009, 22:17
SPlissken's Avatar
SPlissken SPlissken is offline
Member
 
Join Date: Nov 2008
Location: France
Posts: 150
Thanks: 18
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by fronclynne View Post
You did: # portupgrade -r xorg, when you wanted to do # portupgrade -R xorg.

Or maybe, if you're not on some hideously slow machine, # portupgrade -fR xorg.


Also, note that x11/xorg is just a meta-port, which can be deleted immediately after it is used to install the actual xorg stuffs.
Ok ,thanks ,it's on the way
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64
Reply With Quote
  #9  
Old May 12th, 2009, 22:17
SPlissken's Avatar
SPlissken SPlissken is offline
Member
 
Join Date: Nov 2008
Location: France
Posts: 150
Thanks: 18
Thanked 6 Times in 6 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
SPlissken, will you please use [code] tags?
Ok , sorry , i will do so next time
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64
Reply With Quote
  #10  
Old May 13th, 2009, 18:56
SPlissken's Avatar
SPlissken SPlissken is offline
Member
 
Join Date: Nov 2008
Location: France
Posts: 150
Thanks: 18
Thanked 6 Times in 6 Posts
Default

Ok , cool , i achieved to upgrade xorg
Didn't try to make it work with hald and dbus just add
Option "AllowEmptyInput" "off" in Section "Server Layout"
And had also to download and install last driver from nVidia
__________________
FreeBSD sp-freebsd 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #1: Sun Dec 23 18:57:51 CET 2012 root@sp-freebsd:/usr/obj/usr/src/sys/SPKERNEL amd64
Reply With Quote
  #11  
Old May 13th, 2009, 19:55
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,193
Thanks: 59
Thanked 633 Times in 349 Posts
Default

WRKDIRPREFIX should be set up by /etc/make.conf like that for example:
http://strony.toya.net.pl/~vermaden/text/make.conf
__________________
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
http://vermaden.blogspot.com
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
X.org MS TrueType Fonts LordZ X.Org 19 June 8th, 2010 05:36
Problem with X.org kntp X.Org 1 January 16th, 2009 21:45
Openoffice.org-3 Package Xaenn Installation and Maintenance of FreeBSD Ports or Packages 14 January 15th, 2009 21:02
newbie: configuring X.org jared19 X.Org 3 December 6th, 2008 21:52
Using X.Org from git SaveTheRbtz X.Org 2 November 26th, 2008 23:51


All times are GMT +1. The time now is 11:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0