Re: Chicken and egg

2009-04-29 Thread Mike Clarke
On Monday 27 April 2009, Steven Friedrich wrote:

 I built cairo with make -k install, so it would brute force past the
 error, and after that I built libdrm and cairo again with portupgrade
 -fr libdrm cairo.

I think I had a similar problem a while ago. If I remember correctly it 
was fixed by running pkgdb -F to remove a superfluous dependency.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-29 Thread Lowell Gilbert
Steven Friedrich stevenfriedr...@insightbb.com writes:

 On a system with cairo installed, try pkg_info -r cairo\*|grep drm

 Here's from one of my systems:
 Dependency: libdrm-2.4.9

I did, and don't have that dependency.  I also looked (somewhat quickly,
admittedly) through the makefiles for a way it could be optionally
produced, and didn't come up with anything.

If you want help, assuming that people are idiots is not going to get
you very far.  Especially when most of us can't reproduce what you're
seeing.  Perhaps you have an older set of ports?  If you can figure out
where the dependency came from on your system, it would be a start
towards other people being able to provide advice.

Good luck.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-29 Thread Steven Friedrich

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9


I did, and don't have that dependency.  I also looked (somewhat quickly,
admittedly) through the makefiles for a way it could be optionally
produced, and didn't come up with anything.

If you want help, assuming that people are idiots is not going to get
you very far.  Especially when most of us can't reproduce what you're
seeing.  Perhaps you have an older set of ports?  If you can figure out
where the dependency came from on your system, it would be a start
towards other people being able to provide advice.

Good luck.
If I have insulted you, I guess it was with the command line using grep, 
I am sorry. I was not my intent to insult you or insinuate that any of 
you are idiots. I hold nix people in the highest regard.


I've been running FreeBSD since 1.1.5 (or something like that, it was in 
 what I believe was the very first FreeBSD book published). But I must 
admit, I'm still struggling to maintain my systems.


For example, I believe that this libdrm dependency that I say cairo has 
is because cairo has two configurable options, Glitz and XCB. I have 
both selected.  Some ports have config options but I can't find any doc 
that tells me what other ports might benefit from them. Perhaps no other 
ports can utilize cairo Glitz OpenGL support?  I went to their web site 
and read their doc, but that doesn't yield FreeBSD specific info.


I removed all ports, and /usr/local and /var/db/pkg, as suggested by 
Manolis.  I updated my ports tree and make fetchindex, but many ports 
are failing and I have to go to their directory and make reinstall, 
sometimes I also have to make clean.  I think this is caused by the 
fetched INDEX being slightly out of date with the tree. I think this 
wouldn't happen with portsdb -uU.


I've started with no ports and added xorg and portupgrade. I'm now 
installing gnome2. I checked the installed packages with pkg_info and 
noticed that cairo is installed and I checked it;s dependencies and 
libdrm is there again. I believe this is because of Glitz option.


--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Lowell Gilbert
Steven Friedrich stevenfriedr...@insightbb.com writes:

 I've been having trouble with X11 ports, so I deleted all my packages
 and tried to install xorg fresh.

 xorg port failed trying to build cairo, cairo failed because it
 couldn't build libdrm, libdrm failed because cairo's headers weren't
 installed.

 So in summary, I can't install cairo because it wants to build libdrm,
 which won't build/install because it wants cairo.

 And I tried to install packages or the X11 distro from the ftp site
 and also from my 7.2 RC-1 media.  I tried setting the Options for
 any as well as RELEASE_7_2_0, to no avail.  My system is up and
 running multi-user, so sysinstall failed to install any packages.

 I built cairo with make -k install, so it would brute force past the
 error, and after that I built libdrm and cairo again with portupgrade
 -fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Steven Friedrich

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build libdrm,
which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.


Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario, 
i.e., deleting all installed packages and trying to install xorg, I 
think you'll find it.


I have two identical systems that I have mobile racks in, allowing me to 
swap out the hard drives. So I have 4 sets of drives, Lightning, Daemon, 
FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I need to 
update FreakinBSD and Gandalf, so I'll try this again and get it in a 
log file.


libdrm doesn't build without cairo.h in /usr/local/include, but it won't 
be there until you're built cairo, which depends on libdrm.


--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Manolis Kiagias
Steven Friedrich wrote:
 Lowell Gilbert wrote:
 Steven Friedrich stevenfriedr...@insightbb.com writes:

 I've been having trouble with X11 ports, so I deleted all my packages
 and tried to install xorg fresh.

 xorg port failed trying to build cairo, cairo failed because it
 couldn't build libdrm, libdrm failed because cairo's headers weren't
 installed.

 So in summary, I can't install cairo because it wants to build libdrm,
 which won't build/install because it wants cairo.

 And I tried to install packages or the X11 distro from the ftp site
 and also from my 7.2 RC-1 media.  I tried setting the Options for
 any as well as RELEASE_7_2_0, to no avail.  My system is up and
 running multi-user, so sysinstall failed to install any packages.

 I built cairo with make -k install, so it would brute force past the
 error, and after that I built libdrm and cairo again with portupgrade
 -fr libdrm cairo.

 Not only have I not seen or heard of this problem before, I can't see
 any direct dependency of either libdrm or cairo on the other.

 pkg_info -r cairo\* shows that cairo needs libdrm.
 Information for cairo-1.8.6_1,1:

 Depends on:
 ...
 Dependency: libdrm-2.4.9
 ...

 If anyone has a has a test system, where they could try my scenario,
 i.e., deleting all installed packages and trying to install xorg, I
 think you'll find it.

 I have two identical systems that I have mobile racks in, allowing me
 to swap out the hard drives. So I have 4 sets of drives, Lightning,
 Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
 need to update FreakinBSD and Gandalf, so I'll try this again and get
 it in a log file.

 libdrm doesn't build without cairo.h in /usr/local/include, but it
 won't be there until you're built cairo, which depends on libdrm.

As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Steven Friedrich

Manolis Kiagias wrote:

Steven Friedrich wrote:

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build libdrm,
which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario,
i.e., deleting all installed packages and trying to install xorg, I
think you'll find it.

I have two identical systems that I have mobile racks in, allowing me
to swap out the hard drives. So I have 4 sets of drives, Lightning,
Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
need to update FreakinBSD and Gandalf, so I'll try this again and get
it in a log file.

libdrm doesn't build without cairo.h in /usr/local/include, but it
won't be there until you're built cairo, which depends on libdrm.


As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.



On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9

Since I used pkg_delete -a to get rid of all ports and packages, I 
couldn't have any stale dependencies, could I ?


After that I went to /usr/ports/x11/xorg and did a make install and it 
failed.  My ports are recent, I'm tracking 7.2-RC1, etc.


--

Steven Friedrich
Lexington, KY 40509
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Adam Vandemore

Steven Friedrich wrote:

Manolis Kiagias wrote:

Steven Friedrich wrote:

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build 
libdrm,

which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario,
i.e., deleting all installed packages and trying to install xorg, I
think you'll find it.

I have two identical systems that I have mobile racks in, allowing me
to swap out the hard drives. So I have 4 sets of drives, Lightning,
Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
need to update FreakinBSD and Gandalf, so I'll try this again and get
it in a log file.

libdrm doesn't build without cairo.h in /usr/local/include, but it
won't be there until you're built cairo, which depends on libdrm.


As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.



On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9

Since I used pkg_delete -a to get rid of all ports and packages, I 
couldn't have any stale dependencies, could I ?

Yes, you could.


After that I went to /usr/ports/x11/xorg and did a make install and it 
failed.  My ports are recent, I'm tracking 7.2-RC1, etc.





--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken and egg

2009-04-28 Thread Adam Vandemore

Steven Friedrich wrote:

Manolis Kiagias wrote:

Steven Friedrich wrote:

Lowell Gilbert wrote:

Steven Friedrich stevenfriedr...@insightbb.com writes:


I've been having trouble with X11 ports, so I deleted all my packages
and tried to install xorg fresh.

xorg port failed trying to build cairo, cairo failed because it
couldn't build libdrm, libdrm failed because cairo's headers weren't
installed.

So in summary, I can't install cairo because it wants to build 
libdrm,

which won't build/install because it wants cairo.

And I tried to install packages or the X11 distro from the ftp site
and also from my 7.2 RC-1 media.  I tried setting the Options for
any as well as RELEASE_7_2_0, to no avail.  My system is up and
running multi-user, so sysinstall failed to install any packages.

I built cairo with make -k install, so it would brute force past the
error, and after that I built libdrm and cairo again with portupgrade
-fr libdrm cairo.

Not only have I not seen or heard of this problem before, I can't see
any direct dependency of either libdrm or cairo on the other.


pkg_info -r cairo\* shows that cairo needs libdrm.
Information for cairo-1.8.6_1,1:

Depends on:
...
Dependency: libdrm-2.4.9
...

If anyone has a has a test system, where they could try my scenario,
i.e., deleting all installed packages and trying to install xorg, I
think you'll find it.

I have two identical systems that I have mobile racks in, allowing me
to swap out the hard drives. So I have 4 sets of drives, Lightning,
Daemon, FreakinBSD, and Gandalf.  I saw this issue with Daemon.  I
need to update FreakinBSD and Gandalf, so I'll try this again and get
it in a log file.

libdrm doesn't build without cairo.h in /usr/local/include, but it
won't be there until you're built cairo, which depends on libdrm.


As Lowell already said, I can't find any dependency between libdrm and
cairo. My guess is you package database has one or more stale
dependencies. However, if the purpose is to wipe all packages you don't
even have to bother with pkg_delete. In such cases I simply  rm
/usr/local and /var/db/pkg (Keep /var/db/pkg/linux_base-fc* if you are
using the linux binary compatibility, as this is not installed in
/usr/local but /usr/compat). I do this routinely on test systems.



On a system with cairo installed, try pkg_info -r cairo\*|grep drm

Here's from one of my systems:
Dependency: libdrm-2.4.9

Since I used pkg_delete -a to get rid of all ports and packages, I 
couldn't have any stale dependencies, could I ?


After that I went to /usr/ports/x11/xorg and did a make install and it 
failed.  My ports are recent, I'm tracking 7.2-RC1, etc.


my system setup is similar to yours.  cairo depends on libdrm in my 
setup, however I can find nowhere that libdrm depends on cairo.  Does 
the following complete successfully, if not what errors do you see?


update ports eg - portsnap fetch extract
cd /usr/ports/graphics/libdrm
make clean distclean deinstall reinstall

--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Chicken or Egg

2006-02-24 Thread Lowell Gilbert
Chris [EMAIL PROTECTED] writes:

 What I cannot recall is wheather I do a BuildWorld, *then* build the
 kernel. Or whether I build and install the kernel first. Also, as it
 has now been so long. Would it be best to re-build my obj tree by way
 of diong a configmakemake install?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Chicken or Egg

2006-02-24 Thread Chris

Lowell,
Thank you *very* much for the pointer.
For the record; I *did* read the Handbook and UPDATING in the
source and ports trees. But I was reading Kernel in the handbook
and didn't catch the link you sent.

Thanks again!

--Chris


Quoting Lowell Gilbert [EMAIL PROTECTED]:


Chris [EMAIL PROTECTED] writes:


What I cannot recall is wheather I do a BuildWorld, *then* build the
kernel. Or whether I build and install the kernel first. Also, as it
has now been so long. Would it be best to re-build my obj tree by way
of diong a configmakemake install?


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]






This message was brought to you by
the H.R. Communications Corp.,
Webmail Internet Messaging System.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]