Reply
 
Thread Tools Display Modes
  #1  
Old 02-18-2010, 04:55 PM
mrrangerman mrrangerman is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Ports Error
I'm new to PCBSD, though I have installed it before but never took the time to iron out any issues I had with it. Well for the last 3 days I did a fresh install of PCBSD, well 8.0rc2 has a lot of issues, so I installed 7.1.1. The install went very well, I had some problems getting any DVD movies to play but finally have that worked out. Reading Docs. I found out about pkg_add and ports, well in getting DVD's to play I tried to use ports to install kaffeine, ended up getting a Error here is the error.

Code:
checking dependency style of cc... (cached) gcc3                                
checking for xsltproc... /PCBSD/local/bin/xsltproc                              
checking for XCBPROTO... configure: error: Package requirements (xcb-proto >= 1.5) were not met:                                                                

Requested 'xcb-proto >= 1.5' but version of XCB Proto is 1.4

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.                      

Alternatively, you may set the environment variables XCBPROTO_CFLAGS
and XCBPROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

===>  Script "configure" failed unexpectedly.
Please report the problem to wahjava@gmail.com [maintainer] and attach the
"/usr/ports/x11/libxcb/work/libxcb-1.5/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

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

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

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

Stop in /usr/ports/x11-toolkits/qt33.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt33.
*** Error code 1

Stop in /usr/ports/multimedia/kaffeine.
[root@pcbsd]/usr/ports/multimedia/kaffeine(74)#
Well I have in bold the main error, seems strait foreword, just need to install a newer version of xcb-proto. I found the package in the ports tree for a newer version, cd into that directory then as root installed the newer version. All seemed to go well no error at least, so I check to see what version of xcb-proto is installed #xcb-proto --version well it says I still have the older version, so I tried to reinstall it, well ports says it can't reinstall that the newest version is already installed.

So I'm wondering if anyone has any ideas on what I can do to fix this, I'm not getting any answers on google that will help. I've tried to install other packages also and am getting the same error, xcb-proto seems to be a dep. for several packages.
I would be thankful for any help!

Thank you
Reply With Quote
  #2  
Old 02-18-2010, 06:44 PM
GigiLaTrottola GigiLaTrottola is offline
Senior Member
 
Join Date: Feb 2008
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Ports Error
Hi,

you should upgrade the xcb-proto package and then restart compiling kaffeine again. I am not sure of the right method to deal with ports in pcbsd and for this reason I can only tell you to take a look a this link http://www.freebsd.org/doc/en/books/han ... using.html. You can find all the information you need by searching "Upgrading Ports" within that page.

Cheers,
Daniele.
Reply With Quote
  #3  
Old 02-18-2010, 09:01 PM
mrrangerman mrrangerman is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Ports Error
Thank you GigiLaTrottola for the reply.

It's not a case of ports being updated, that was the first thing I did before installing any package. When I run the command pkg_version -v this is the output.

[root@pcbsd]/usr/home/dan(83)# pkg_version -v
gettext-0.17_1 = up-to-date with port
inputproto-1.5.0 = up-to-date with port
libXau-1.0.4 = up-to-date with port
libXdmcp-1.0.2_1 = up-to-date with port
libcheck-0.9.8 = up-to-date with port
libdvdcss-1.2.10_1 = up-to-date with port
libiconv-1.13.1_1 = up-to-date with port
libpthread-stubs-0.3_3 = up-to-date with port
libtool-2.2.6b = up-to-date with port
nano-2.2.3 = up-to-date with port
python26-2.6.4 = up-to-date with port
win32-codecs-3.1.0.r1,1 = up-to-date with port
xcb-proto-1.6 = up-to-date with port
xextproto-7.0.5 = up-to-date with port
xineramaproto-1.1.2 = up-to-date with port
xproto-7.0.15 = up-to-date with port
[root@pcbsd]/usr/home/dan(84)#

As you can see ports sees xcb-proto as version 1.6 which is the newest version,
but for some reason when a package is compiled it sees xcb as a older version.
Thank for the link though, I'm going to keep on looking to see if this can be worked out.

Thanks again.
Reply With Quote
  #4  
Old 02-18-2010, 11:17 PM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 887
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Ports Error
Originally Posted by mrrangerman
Thank you GigiLaTrottola for the reply.

It's not a case of ports being updated, that was the first thing I did before installing any package. When I run the command pkg_version -v this is the output.

[root@pcbsd]/usr/home/dan(83)# pkg_version -v
...Edit...
xcb-proto-1.6 = up-to-date with port
...Edit...
[root@pcbsd]/usr/home/dan(84)#

As you can see ports sees xcb-proto as version 1.6 which is the newest version,
but for some reason when a package is compiled it sees xcb as a older version.
Thank for the link though, I'm going to keep on looking to see if this can be worked out.

Thanks again.
First, if you installed a fresh install of PCBSD 7.1.1 then according to the release notes you've already met the version requirement.
Quote:
xbacklight-1.1 Program to adjust backlight brightness
xbitmaps-1.0.1 X.Org bitmaps data
xcalc-1.0.2_1 Scientific calculator for X
xcb-proto-1.5 The X protocol C-language Binding (XCB) protocol
xcb-util-0.3.5 A module with libxcb/libX11 extension/replacement libraries
xcmiscproto-1.1.2 XCMisc extension headers
xcmsdb-1.0.1 Device Color Characterization utility for X
Second, execution of the pkg_version -v command in a clean install of PCBSD 7.1.1 will yield this
Quote:
[quyen@pcbsd ~]$ uname -a
FreeBSD pcbsd 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Oct 5 15:00:33 EDT 2009 root@pcbsd:/usr/obj/usr/src/sys/PCBSD.amd64 amd64
[quyen@pcbsd ~]$ pkg_version -v
pkg_version: no packages installed
Since your pkg_version -v yielded lots of packages, I would imagine you installed stuff. Did you run runports prior to installing stuff? You must understand that PCBSD maintains it's own package database. You will find that ls /PCBSD/var/db/pkg is full of stuff whereas /var/db/pkg = null (after a clean install). So you will need to check which database pkg_version is looking at.
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
Reply With Quote
  #5  
Old 02-19-2010, 01:57 AM
mrrangerman mrrangerman is offline
Junior Member
 
Join Date: Jan 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Ports Error
Quote:
Fatmice
First, if you installed a fresh install of PCBSD 7.1.1 then according to the release notes you've already met the version requirement.
The install was about 3hrs. prior to first posting, one of the first thing before installing anything was to use the PC-BSD update manager so that everything was upto date. Next was to update ports all was fine or so I thought.

Quote:
Second, execution of the pkg_version -v command in a clean install of PCBSD 7.1.1 will yield this
I had installed several packages after running my updates, and it wasn't until later (My second post) that I ran the pkg_version -v command. So yes my list was longer.

<SOLVED> in a round about way, I ended up using pkg_add to install kaffeine. I did solve the xcb-proto deb. problem but ports kept having other dep. issues. I'm still going to see if I can iron out ports but until then I'll use pkg_add.

Thank you all for your input/help
Reply With Quote
  #6  
Old 02-19-2010, 03:08 AM
Fatmice's Avatar
Fatmice Fatmice is offline
Senior Member
 
Join Date: Feb 2008
Location: US
Posts: 887
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Ports Error
Quote:
<SOLVED> in a round about way, I ended up using pkg_add to install kaffeine. I did solve the xcb-proto deb. problem but ports kept having other dep. issues. I'm still going to see if I can iron out ports but until then I'll use pkg_add.
Install via package is usually preferred if you're new to using ports.

You will continue to run into problems if you do not use runports prior to installation of a port, i.e. make build install. This thread is a useful reference.

I will suggest that you run as root then invoke pkgdb -F. The command will build a package database for use with portupgrade and pkg_* command in general. The database is a file name pkgdb.db in /var/db/pkg.

The reason why I keep harping on invoking runports is because this command, which is a shell script, will unset the LD_ELF_HINTS_PATH variable so that pkg-config/automake/autoconf et al. will not see the PCBSD pkg base and complain that it found the libs but not the pkg (because it checked in /var/db/pkg instead of /PCBSD/var/db/pkg)...

On the other hand, if you know that you have all the dependencies, you could just tell it to shut up and install anyway with
Code:
make build install -D NO_DEPENDS
__________________
|================================================= =====|
|Please search the forum prior to posting. Intellectual laziness is not nice. | (Does not apply to non-offenders =))
|================================================= =====|
Reply With Quote
  #7  
Old 02-19-2010, 06:25 AM
GigiLaTrottola GigiLaTrottola is offline
Senior Member
 
Join Date: Feb 2008
Posts: 146
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Ports Error
Hi All,

I am sorry if sometimes my post are not that neat, but I come from freebsd, and due to some changes to the PCBSD project, many things I experienced in the past have changed.
I am glad you got rid of your problem I hope you will enjoy watching your movies :-D.

Cheers,
Daniele.
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
error with libXrandr making from ports Dennizz General Questions 4 07-10-2009 08:21 AM
error installing pidgin from ports. Tabithaboof General Questions 1 10-15-2007 08:15 AM
Error with ports paparucino Installing PC-BSD 10 06-13-2007 03:31 PM
error code 1 in ports? kea0463 General Support 2 01-09-2007 05:30 PM
Ports error Need help please Bjorkamon Installing PC-BSD 7 08-06-2006 06:54 PM


All times are GMT. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.