After updateposts gnome still on 2.26

We downloaded source tarballs, just ran ./configure, tweaked some --options knobs, and installed everything just fine! That was before everything was diluted with linux-only code, though.
 
Back to my prob.
I know this is very newby but, I know how to set $PATH environment variable how do I set FORCE_PKG_REGISTER true.
 
Depending on your shell:

set FORCE_PKG_REGISTER=yes
export FORCE_PKG_REGISTER=yes
 
Latestes attempt with a new symptom. How do I refreash the Makefile?

Code:
bill# cd apache22
bill# make distclean
===>  Cleaning for apache-2.2.14_5
===>  Deleting distfiles for apache-2.2.14_5
bill# portupgrade --batch -arR
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 650 packages found (-1 +0) (...) done]
** Makefile possibly broken: www/gnome-user-share:
	apxs:Error: /usr/local/bin/apr-1-config not found!.
	"/usr/ports/Mk/bsd.apache.mk", line 288: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
	gnome-user-share-2.28.1
	
	
/usr/local/sbin/portupgrade:1469:in `get_pkgname': Makefile broken (MakefileBrokenError)
	from /usr/local/sbin/portupgrade:623:in `main'
	from /usr/local/sbin/portupgrade:614:in `each'
	from /usr/local/sbin/portupgrade:614:in `main'
	from /usr/local/sbin/portupgrade:588:in `catch'
	from /usr/local/sbin/portupgrade:588:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
	from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
	from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
	from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
	from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
	from /usr/local/sbin/portupgrade:565:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
	from /usr/local/sbin/portupgrade:229:in `new'
	from /usr/local/sbin/portupgrade:229:in `main'
	from /usr/local/sbin/portupgrade:2209
bill# cd /
bill# portupgrade --batch -arR
** Makefile possibly broken: www/gnome-user-share:
	apxs:Error: /usr/local/bin/apr-1-config not found!.
	"/usr/ports/Mk/bsd.apache.mk", line 288: warning: "/usr/local/sbin/apxs -q MPM_NAME" returned non-zero status
	gnome-user-share-2.28.1
	
	
/usr/local/sbin/portupgrade:1469:in `get_pkgname': Makefile broken (MakefileBrokenError)
	from /usr/local/sbin/portupgrade:623:in `main'
	from /usr/local/sbin/portupgrade:614:in `each'
	from /usr/local/sbin/portupgrade:614:in `main'
	from /usr/local/sbin/portupgrade:588:in `catch'
	from /usr/local/sbin/portupgrade:588:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
	from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
	from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
	from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
	from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
	from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
	from /usr/local/sbin/portupgrade:565:in `main'
	from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
	from /usr/local/sbin/portupgrade:229:in `new'
	from /usr/local/sbin/portupgrade:229:in `main'
	from /usr/local/sbin/portupgrade:2209
bill#
 
I think I saw those when anything required by portupgrade itself got changed (which is one of the reasons I stopped using it). Since you're using 'portupgrade -arR', portupgrade itself updates itself and its dependencies. My suggestion would be to deinstall and reinstall portupgrade (/usr/ports/ports-mgmt/portupgrade) and its dependencies (/usr/ports/lang/ruby18, /usr/ports/databases/ruby-bdb) first, so they don't get pulled in by a recursive portupgrade run later.
 
Still the same. I think I need to reinit the ports and start over.
I was able to get gdm up before but now it hangs st the login window. That make documented what happen a bit of a problem.

How can I direct the screen output for portupgade to a text file?

Hoe do I reset all of the port to basic known level?
 
I think the problem here is the configuration of your apache22 port. I just had a look over the Makefile, and as it seems, building it with devel/apr for example isn't the default setting, which is:
Code:
        APR_FROM_PORTS "Use devel/apr as APR (preferred)" Off \
        THREADS "Enable threads support in APR" Off \
        MYSQL "Enable MySQL support for apr-dbd" Off \
        PGSQL "Enable PostgreSQL support for apr-dbd" Off \
        SQLITE "Enable SQLite support for apr-dbd" Off \
        IPV6 "Enable IPv6 support" On \
        BDB "Enable BerkeleyDB dbm" Off
I'd recommend to first deinstall any previous version of devel/apr and www/apache22 from your system by running:

# pkg_deinstall -df devel/apr www/apache22

Then remove the existing apache22 configuration and try to manually install apache22, using the default options:

# cd /usr/ports/www/apache22
# make clean
# make rmconfig
# make (Accept the default options here unmodified)
# make install

If this succeeds, run # make clean and then try to restart # portupgrade --batch -arR and see whether it now successfully updates the remaining ports.
 
DutchDaemon said:
Depending on your shell:

set FORCE_PKG_REGISTER=yes
export FORCE_PKG_REGISTER=yes

maybe for tcsh you mean
setenv FORCE_PKG_REGSTER ?

Anyway hitchup, do:
(assuming e.g. you are on amd64, 8.0-RELEASE or 8-STABLE, if not substitute as needed)

Code:
# portsnap fetch
# portsnap update
# setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/All/
# portupgrade -PRra

(I dont remember if, during the first time you work with portsnap, you have to do a portsnap extract as well, IIRC portsnap will notify you about it)

Do that, have a working system, and then you can play with source builds (and their issues) whenever you like.
 
achix said:
maybe for tcsh you mean
setenv FORCE_PKG_REGSTER ?

Why?

Code:
$ tcsh
> set FORCE_PKG_REGISTER=yes
> echo $FORCE_PKG_REGISTER
yes
 
hitchup said:
Back to my prob.
I know this is very newby but, I know how to set $PATH environment variable how do I set FORCE_PKG_REGISTER true.

in /etc/make.conf, put the following line
Code:
FORCE_PKG_REGISTER=yes
for your system
 
jotawski said:
in /etc/make.conf, put the following line
Code:
FORCE_PKG_REGISTER=yes
for your system

Wow, you *really* do not want to set this in /etc/make.conf!

Things like FORCE_PKG_REGISTER should strictly be set on a as-needed basis only, if and only if you do fully understand *why* you need it and what it does.

Actually I have not encountered a single situation where I had to set it.
 
mickey said:
Wow, you *really* do not want to set this in /etc/make.conf!

Things like FORCE_PKG_REGISTER should strictly be set on a as-needed basis only, if and only if you do fully understand *why* you need it and what it does.

Actually I have not encountered a single situation where I had to set it.

you are right.
only the second round that i need to have all packages built into ${PACKAGES}, again defined in /etc/make.conf, after making sure that there is no more error for installing package from ports.

my reason is that quite often that i do portupgrade -a, my instinct tell me that it would be nice if all packages have been built along for later use. and that is only case that i need to put in /etc/make.conf such variables.

you are right so please use with care ;).

regards,
jotawski
 
Back
Top