Re: Installing X11 gives perl version conflict
Dieter == Dieter BSD dieter...@engineer.com 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 mer...@stonehenge.com URL: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
Re: Installing X11 gives perl version conflict
On Fri, 24 Jun 2011, Randal L. Schwartz wrote: Dieter == Dieter BSD dieter...@engineer.com 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
d...@safeport.com wrote: On Fri, 24 Jun 2011, Randal L. Schwartz wrote: Dieter == Dieter BSD dieter...@engineer.com 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
On Fri, 24 Jun 2011, Michael Powell wrote: d...@safeport.com wrote: On Fri, 24 Jun 2011, Randal L. Schwartz wrote: Dieter == Dieter BSD dieter...@engineer.com 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
RW rwmailli...@googlemail.com 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
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
Installing X11 gives perl version conflict
FreeBSD 8.2 amd64 Attempting to install X11 server. Attempt to install package xf86-video-fbdev-0.4.2.tbz gives conflict between perl-5.10.1_3 and perl-5.12.3 even when installing into clean directory tree. # mkdir /tmp/test_pkg_install # export PKG_DBDIR=/tmp/test_pkg_install/var/db/pkg # pkg_add -P /tmp/test_pkg_install/ xf86-video-fbdev-0.4.2.tbz Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. Removing stale symlinks from /usr/bin... Removing /usr/bin/perl Removing /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /tmp/test_pkg_install//bin/perl5.12.3 to /usr/bin/perl Symlinking /tmp/test_pkg_install//bin/perl5.12.3 to /usr/bin/perl5 Done. Cleaning up /etc/make.conf... Done. Spamming /etc/make.conf... Done. Cleaning up /etc/manpath.config... Done. Spamming /etc/manpath.config... Done. Running fc-cache to build fontconfig cache... Fontconfig error: Cannot load default config file /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs /var/db/fontconfig: cleaning cache directory fc-cache: succeeded * Although libxcb can yield dramatic improvements in speed, memory footprint, and responsiveness, and will probably become the default Xlib for X.org/freedesktop.org, it is still experimental software. Some broken callers will abort() on locking assertion failures. As a temporary workaround, set LIBXCB_ALLOW_SLOPPY_LOCK in your environment to skip the abort(). This may result in noisy stacktrace printing. * pkg_add: package 'perl-5.10.1_3' conflicts with perl-5.12.3 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: autoload of dependency '/ro/dist/freebsd/freebsd_8.2/amd64/packages/perl-5.10.1_3.tbz' failed! pkg_add: autoload of dependency '/ro/dist/freebsd/freebsd_8.2/amd64/packages/glib-2.26.1_1.tbz' failed! pkg_add: package 'perl-5.10.1_3' conflicts with perl-5.12.3 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: autoload of dependency '/ro/dist/freebsd/freebsd_8.2/amd64/packages/perl-5.10.1_3.tbz' failed! pkg_add: package 'perl-5.10.1_3' conflicts with perl-5.12.3 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: autoload of dependency '/ro/dist/freebsd/freebsd_8.2/amd64/packages/perl-5.10.1_3.tbz' failed! pkg_add: autoload of dependency '/ro/dist/freebsd/freebsd_8.2/amd64/packages/glib-2.26.1_1.tbz' failed! pkg_add: autoload of dependency '/ro/dist/freebsd/freebsd_8.2/amd64/packages/gamin-0.1.10_4.tbz' failed! ... Hiding perl-5.10.1_3 from pkg_add doesn't work: pkg_add: could not find package perl-5.10.1_3 ! Hiding perl-5.12.3 from pkg_add doesn't work: pkg_add: could not find package perl-5.12.3 ! ___ 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