Re: Installing X11 gives perl version conflict

2011-06-24 Thread Dieter BSD
perryh> running 8.1-RELEASE (and not 8-STABLE)
[ ... ]
perryh> /packages-8.1-release/

AH HA 

The .message file contains the solution (I hope):

"packages-*-release directories are built from the ports collection
shipped with the release, and are not updated thereafter.

packages-*-stable and packages-*-current are updated roughly once a week."

"stable" should be renamed "bleeding-edge" to warn dunderheads like
me that think stable means stable rather than unstable.

And maybe web browsers should automagically display the .message file.

THANK YOU !!!

If only debugging X11 were so easy...
___
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: Installing X11 gives perl version conflict

2011-06-24 Thread perryh
RW  wrote:

> If building isn't an option then it's better to stick to one
> release trees at a time.

Unfortunately, it seems that pkg_add(1) does not make that as easy
as one might prefer.  I discovered recently that, even though I am
running 8.1-RELEASE (and not 8-STABLE), "pkg_add -r" fetches from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/Latest/,
rather than from the frozen-at-release -- and thus self-consistent
-- collection in .../All/

One way around this is to set PACKAGESITE to, for example,
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/
(making any necessary adjustments to the mirror and release names).
___
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: Installing X11 gives perl version conflict

2011-06-24 Thread doug



On Fri, 24 Jun 2011, Michael Powell wrote:


d...@safeport.com wrote:


On Fri, 24 Jun 2011, Randal L. Schwartz wrote:


"Dieter" == Dieter BSD  writes:


Dieter> Attempt to install package xf86-video-fbdev-0.4.2.tbz
Dieter> gives conflict between perl-5.10.1_3 and perl-5.12.3
Dieter> even when installing into clean directory tree.

Packages seem like a great idea when you get started, but they're all
built with the default configs, and those don't necessarily line up.

Always build from source.  Always build from source.

When you installed 5.12 Perl, it put a marker in /etc/make.conf such
that had you built the xf86-video-fbdev from source, it would have
depended on 5.12 Perl, not the 5.10 Perl baked in to the default
package.  Do that, and all will be well.

Yes, I had to learn this the hard way a year ago, so now I pass along
that knowledge. :)


I had the same error. Can the Make files either have this as a warning or
change the dependency to be any Perl5, or whatever the 'real' dependency
is? This was not an issue before Perl was removed from the base system and
Xorg was split into its 200 (or so) component parts.



Read /usr/ports/Mk/bsd.perl.mk. I think mostly many of the variables
contained within may be set in /etc/make.conf and can be picked up at build
time by make. Particularly interesting were PERL_VERSION, PERL_PORT, and
USE_PERL, for example. Reading down into the contents will point to how the
variables get used.


C o  o   l-  thanks Mike
___
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: Installing X11 gives perl version conflict

2011-06-24 Thread Dieter BSD
RW> The problem as I see it is that he is installing packages that
RW> aren't built from the same tree. One of the dependencies of
RW> xf86-video-fbdev-0.4.2 was  built when perl 5.10 was the default
RW> and one after the default switched to perl 5.12.

RW> If building isn't an option then it's better to stick to one
RW> release trees at a time.

I think you are correct.  How does one stick to one release tree?
As I recall the CD/DVDs have a very small subset of ports/packages.
The ftp sites have the full set, but are not static.  Some packages
disappear, so you have no choice but to use a newer version.
___
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: Installing X11 gives perl version conflict

2011-06-24 Thread Dieter BSD
Dieter> Attempt to install package xf86-video-fbdev-0.4.2.tbz
Dieter> gives conflict between perl-5.10.1_3 and perl-5.12.3
Dieter> even when installing into clean directory tree.

Randal> Packages seem like a great idea when you get started,
Randal> but they're all built with the default configs, and
Randal> those don't necessarily line up.

Randal> Always build from source.  Always build from source.

Except that I switched from ports to packages awhile back
because I was having so many problems building ports, and
packages was, until now, working much better.

I'm not even sure if I need xf86-video-fbdev or not?
I was just trying to make Xorg happy.

A few lines grepped from dmesg:

 port 0xac00-0xacff mem 
0xfa00-0xfaff,0xfdfff000-0xfdff irq 19 at device 5.0 on pci1
sc0: VGA <16 virtual consoles, flags=0x100>
 at port 0x3c0-0x3df iomem 0xa-0xb on isa0

 port 0x60,0x64 irq 1 on acpi0
 irq 1 on atkbdc0
kbd0 at atkbd0

 irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0

# Xorg -configure -logverbose 100

(--) PCI:*(0:1:5:0) 1002:4752:1002:8008 ATI Technologies Inc Rage XL rev 39,
Mem @ 0xfa00/16777216, 0xfdfff000/4096, I/O @ 0xac00/256,
BIOS @ 0x/65536

[ ... ]

List of video drivers:
        ati
        radeon
        r128
(II) LoadModule: "ati"
(II) Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 6.14.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "radeon"
(II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 6.14.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "r128"
(II) Loading /usr/local/lib/xorg/modules/drivers/r128_drv.so
(II) Module r128: vendor="X.Org Foundation"
        compiled for 1.7.7, module version = 6.8.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) Primary Device is: PCI 01@00:05:0
No devices to configure.  Configuration failed.

No devices?  What about sc0 ?

Google found several suggestions to just try Xorg without -configure, so:

# Xorg  -logverbose 100

(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
        If no devices become available, reconfigure HAL or disable 
AutoAddDevices.

[ ... ]

(II) LoadModule: "mach64"
(WW) Warning, couldn't open module mach64
(II) UnloadModule: "mach64"
(EE) Failed to load module "mach64" (module does not exist, 0)
(II) LoadModule: "vesa"
(WW) Warning, couldn't open module vesa
(II) UnloadModule: "vesa"
(EE) Failed to load module "vesa" (module does not exist, 0)
(II) LoadModule: "fbdev"
(WW) Warning, couldn't open module fbdev
(II) UnloadModule: "fbdev"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found

The console said:

Starting dbus.
Starting hald.

ps says:
messagebus   924  0.0  0.0  8124  1420  ??  Is    9:29PM   0:00.00 
/usr/local/bin/dbus-daemon --system
ps doesn't find a hald running?

I have no clue how to reconfigure HAL or disable AutoAddDevices.
Can't I just tell Xorg to use sc0 kbd0 and psm0 ? The man pages
don't mention how to do this.  I'm also not sure which driver it
should be using.  The r128 man page doesn't explicitly list the
RAGE XL.  Xorg without -configure doesn't mention r128.
___
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: Installing X11 gives perl version conflict

2011-06-24 Thread RW
On Fri, 24 Jun 2011 11:20:46 -0400
Michael Powell wrote:

> Read /usr/ports/Mk/bsd.perl.mk. I think mostly many of the variables 
> contained within may be set in /etc/make.conf and can be picked up at
> build time by make. Particularly interesting were PERL_VERSION,
> PERL_PORT, and USE_PERL, for example. Reading down into the contents
> will point to how the variables get used. 

I don't think any of this is very relevant - except as general
background . The problem as I see it is that he is installing packages
that aren't built from the same tree. One of the dependencies of
xf86-video-fbdev-0.4.2 was  built when perl 5.10 was the default and
one after the default switched to perl 5.12.

If building isn't an option then it's better to stick to one release
trees at a time. That still leave the problem to dealing with
vulnerabilities as best you can, but there is not a simple answer.
___
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: Installing X11 gives perl version conflict

2011-06-24 Thread Michael Powell
d...@safeport.com wrote:

> On Fri, 24 Jun 2011, Randal L. Schwartz wrote:
> 
>>> "Dieter" == Dieter BSD  writes:
>>
>> Dieter> Attempt to install package xf86-video-fbdev-0.4.2.tbz
>> Dieter> gives conflict between perl-5.10.1_3 and perl-5.12.3
>> Dieter> even when installing into clean directory tree.
>>
>> Packages seem like a great idea when you get started, but they're all
>> built with the default configs, and those don't necessarily line up.
>>
>> Always build from source.  Always build from source.
>>
>> When you installed 5.12 Perl, it put a marker in /etc/make.conf such
>> that had you built the xf86-video-fbdev from source, it would have
>> depended on 5.12 Perl, not the 5.10 Perl baked in to the default
>> package.  Do that, and all will be well.
>>
>> Yes, I had to learn this the hard way a year ago, so now I pass along
>> that knowledge. :)
>>
> I had the same error. Can the Make files either have this as a warning or
> change the dependency to be any Perl5, or whatever the 'real' dependency
> is? This was not an issue before Perl was removed from the base system and
> Xorg was split into its 200 (or so) component parts.
> 

Read /usr/ports/Mk/bsd.perl.mk. I think mostly many of the variables 
contained within may be set in /etc/make.conf and can be picked up at build 
time by make. Particularly interesting were PERL_VERSION, PERL_PORT, and 
USE_PERL, for example. Reading down into the contents will point to how the 
variables get used. 

-Mike

[snip]


___
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: Installing X11 gives perl version conflict

2011-06-24 Thread doug

On Fri, 24 Jun 2011, Randal L. Schwartz wrote:


"Dieter" == Dieter BSD  writes:


Dieter> Attempt to install package xf86-video-fbdev-0.4.2.tbz
Dieter> gives conflict between perl-5.10.1_3 and perl-5.12.3
Dieter> even when installing into clean directory tree.

Packages seem like a great idea when you get started, but they're all
built with the default configs, and those don't necessarily line up.

Always build from source.  Always build from source.

When you installed 5.12 Perl, it put a marker in /etc/make.conf such
that had you built the xf86-video-fbdev from source, it would have
depended on 5.12 Perl, not the 5.10 Perl baked in to the default
package.  Do that, and all will be well.

Yes, I had to learn this the hard way a year ago, so now I pass along
that knowledge. :)

I had the same error. Can the Make files either have this as a warning or change 
the dependency to be any Perl5, or whatever the 'real' dependency is? This was 
not an issue before Perl was removed from the base system and Xorg was split 
into its 200 (or so) component parts.


For me using an 80MHz processor with 512MB of memory (a perfectly good 
workstation BTW runs KDE-lite just fine) building is not an option. If I started 
June 1, I might be done in time for the fireworks :) My solution was just to 
start from scratch (about 2-3 hours).

___
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: Installing X11 gives perl version conflict

2011-06-24 Thread Randal L. Schwartz
> "Dieter" == Dieter BSD  writes:

Dieter> Attempt to install package xf86-video-fbdev-0.4.2.tbz
Dieter> gives conflict between perl-5.10.1_3 and perl-5.12.3
Dieter> even when installing into clean directory tree.

Packages seem like a great idea when you get started, but they're all
built with the default configs, and those don't necessarily line up.

Always build from source.  Always build from source.

When you installed 5.12 Perl, it put a marker in /etc/make.conf such
that had you built the xf86-video-fbdev from source, it would have
depended on 5.12 Perl, not the 5.10 Perl baked in to the default
package.  Do that, and all will be well.

Yes, I had to learn this the hard way a year ago, so now I pass along
that knowledge. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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"