chromium 36 on FreeBSD 9?
René Ladan
r.c.ladan at gmail.com
Fri Aug 15 20:25:25 UTC 2014
Op 15 aug. 2014 21:59 schreef "Carlos Jacobo Puga Medina" <cpm at fbsd.es>:
>
> > Hi,
> >
> > The latest update doesn't seem to build on 9.2
> >
> > Last few lines of build log:
> >
> > Updating projects from gyp files...
> > Package libusb-1.0 was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `libusb-1.0.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'libusb-1.0', required by 'world', not found
> > gyp: Call to 'pkg-config --libs-only-l libusb-1.0' returned exit status
1.
> > *** [do-configure] Error code 1
> >
> > Regards,
> >
> > Gary
> >
> > P.S. not subscribed so please CC me on any reply. Thanks.
>
> Try this patch:
>
> # diff -urN Makefile.orig Makefile
> --- Makefile.orig 2014-08-15 21:54:20.000000000 +0200
> +++ Makefile 2014-08-15 21:54:34.000000000 +0200
> @@ -102,7 +102,7 @@
> use_system_libexif=1 \
> use_system_libjpeg=1 \
> use_system_libpng=1 \
> - use_system_libusb=1 \
> + use_system_libusb=0 \
> use_system_libwebp=1 \
> use_system_libxml=1 \
> use_system_libxslt=1 \
>
I don't think this will work for several reasons:
1. Bundled libusb is removed in by the remove_bundled_libraries script in
the pre-configure step
2. The bundled libusb is a modified one from sourceforge but on freebsd we
are supposed to use the system libusb due to how it interacts with the
lower layers
I'm doing a test build for 8.4 now to see what can be done. Maybe we need
to look for a different pc file.
René
More information about the freebsd-chromium
mailing list