![]() |
|
|||||||
| OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Hi all !
Frankly I don't know for sure , whether it's xkcd-viewer who's being mulish or me being a fool -as usual- hehe .. Well I just failed to build the port on OpenBSD stable and current : Code:
p5-ExtUtils-PkgConfig-1.13: ok ===> Returning to build of p5-Gtk2-1.221p5 ===> p5-Gtk2-1.221p5 depends on: p5-ExtUtils-PkgConfig-* -> p5-ExtUtils-PkgConfig-1.13 ===> p5-Gtk2-1.221p5 depends on: p5-Glib2->=1.200 - not found ===> Verifying install for p5-Glib2->=1.200 in devel/p5-Glib2 ===> p5-Glib2-1.222p3 is marked as broken: glib2 is threaded but our perl is not so we end up with undefined symbols . *** Error 1 in /usr/ports/x11/p5-Gtk2 (/usr/ports/infrastructure/mk/bsd.port.mk:1978 '/usr/ports/pobj/p5-Gtk2-1.221/.dep-STEM-ge-1.200-devel-p5-Glib2') *** Error 1 in /usr/ports/x11/p5-Gtk2 (/usr/ports/infrastructure/mk/bsd.port.mk:2393 '/usr/ports/pobj/p5-Gtk2-1.221/.extract_done') *** Error 1 in /usr/ports/x11/p5-Gtk2 (/usr/ports/infrastructure/mk/bsd.port.mk:1804 '/usr/ports/packages/i386/all/p5-Gtk2-1.221p5.tgz') *** Error 1 in /usr/ports/x11/p5-Gtk2 (/usr/ports/infrastructure/mk/bsd.port.mk:2343 '_internal-package') *** Error 1 in /usr/ports/x11/p5-Gtk2 (/usr/ports/infrastructure/mk/bsd.port.mk:2323 'package') *** Error 1 in /usr/ports/x11/p5-Gtk2 (/usr/ports/infrastructure/mk/bsd.port.mk:1821 '/var/db/pkg/p5-Gtk2-1.221p5/+CONTENTS') *** Error 1 in /usr/ports/x11/p5-Gtk2 (/usr/ports/infrastructure/mk/bsd.port.mk:2323 'install') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1978 '/usr/ports/pobj/xkcd-viewer-0.1/.dep-x11-p5-Gtk2') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2393 '/usr/ports/pobj/xkcd-viewer-0.1/.extract_done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1804 '/usr/ports/packages/i386/all/xkcd-viewer-0.1p0.tgz') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2343 '_internal-package') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2323 'package') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1821 '/var/db/pkg/xkcd-viewer-0.1p0/+CONTENTS') *** Error 1 in /usr/ports/misc/xkcd-viewer (/usr/ports/infrastructure/mk/bsd.port.mk:2323 'install') |
|
||||
|
The root cause:
Quote:
Code:
---------------------------- revision 1.14 date: 2010/04/22 19:36:05; author: ajacoutot; state: Exp; lines: +3 -1 Mark as BROKEN for now. ----------------------------
__________________
OpenBSD LiveCDs/LiveDVDs |
|
||||
|
To elaborate further:
I discovered the root cause of the failure to build by reading the error message you copied and pasted into your post. I looked up the history of the port using cvs(1): Code:
$ cd /usr/ports/devel/p5-Glib2 $ cvs log Makefile | less
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Haven't tried this myself, but if you really want to get this working (other than by fixing the port yourself somehow), you could try installing a second, non-system perl with threading enabled. I see on chromatic's blog he recommends a tool named perlbrew for this sort of thing: http://www.modernperlbooks.com/mt/20...-perlbrew.html
|
|
|||
|
Thanks jggimi for all support ! unthreaded Puffish Perl ?
Thanks thirdm ! I've installed perlbrew and am installing perl-5.16.0 latest stable .. or should I rather install bleeding edge version ? how can I possibly install xkcd-viewer afterwards ? Last edited by daemonfowl; 22nd March 2013 at 12:40 AM. |
|
|||
|
Code:
$ tail -f ~/perl5/perlbrew/build.perl-5.16.0.log ../dist/IO/t/io_file.t ............................................ ok ../dist/IO/t/io_file_export.t ..................................... ok ../dist/IO/t/io_linenum.t ......................................... ok # Test process timed out - terminating ../dist/IO/t/io_multihomed.t ...................................... Failed 8/8 subtests ../dist/IO/t/io_pipe.t ............................................ ok ../dist/IO/t/io_poll.t ............................................ ok ../dist/IO/t/io_sel.t ............................................. ok accept failed: Connection timed out at t/io_sock.t line 60. |
|
|||
|
Sorry, can't help much from here since I've never tried to install a non-system perl.If you can get the second perl working, I was going to say you'd install the xkcd reader directly from cpan using one of the cpan clients (cpan, cpan plus, cpan minus, etc. -- okay, I'm not sure there really is an "etc." here but probably). But looking at the port, it doesn't look like the viewer on cpan. Compare
http://www.autistici.org/fox/files/XKCD_viewer/README (the one the port uses) to http://search.cpan.org/~woldrich/App-xkcd-0.082/xkcd (an app on cpan I assumed for a moment the port must be based on) Looks like different programs. Maybe instead of going down the route of getting a second perl you could try installing this other xkcd viewer directly from cpan. It doesn't seem to have as difficult prerequisites. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| -stable snapshots "openbsd-stable.org" (?) | dnix | OpenBSD Installation and Upgrading | 9 | 18th December 2011 11:48 AM |
| recommendations on a picture viewer | divadgnol67 | OpenBSD General | 11 | 3rd April 2011 09:52 PM |
| Help installing Hippo viewer... | bforest | FreeBSD Ports and Packages | 10 | 20th March 2010 01:17 PM |
| Questions, Ports / current|stable | ax0 | OpenBSD Installation and Upgrading | 42 | 16th April 2009 08:23 PM |
| ports: stable or current? | schrodinger | OpenBSD Packages and Ports | 4 | 11th August 2008 01:18 PM |