new 9.1 install, errors building libpci port for chromium port
*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
new 9.1 install, errors building libpci port for chromium port
I have a newly installed freebsd system and have only added x11 and the nvidia drivers. I can get into X so naturally I want a web browser such as chromium. Unfortunately, I'm not able to build the chromium port because of errors building libpci (I think). Here's the output:
Code:
/usr/include/runetype.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'const'
/usr/include/runetype.h: In function '__getCurrentRuneLocale':
/usr/include/runetype.h:96: error: '_ThreadRuneLocale' undeclared (first use in this function)
/usr/include/runetype.h:96: error: (Each undeclared identifier is reported only once
/usr/include/runetype.h:96: error: for each function it appears in.)
init.c: In function 'pci_generic_error':
init.c:97: warning: implicit declaration of function 'exit'
init.c:97: warning: incompatible implicit declaration of built-in function 'exit'
gmake[1[]: *** [init.o] Error 1
In file included from access.c:10:
/usr/include/stdlib.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gmake[1]:
/usr/include/stdlib.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gmake[1]:
gmake[1]: *** [dump.o] Error 1
gmake[1]: *** [access.o] Error 1
gmake[1]: Leaving directory '/usr/ports/devel/libpci/work/pciutils-3.2.0/lib'
gmake: ***[lib/libpci.a] Error 2
Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=YES and rebuild before reporting the failure to the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/devel/libpci.
*** [lib-depends] Error code 1
Stop in /usr/ports/www/chromium.
*** [install] Error code 1.
You'll have to excuse me because I typed it out by hand. I also got the latest kernel source from svn when building nvidia. I made sure to update my ports and check for errors before I built anything.
I don't have bsd on the drive just right now but I was using the pkgng tool which was supposed to replace the pkg_add I thought. According to the wiki:
Quote:
As a consequence of the security incident on 11th November 2012, for the time being pre-compiled packages for pkgng are not available from any official FreeBSD repository. The test repository pkgbeta.freebsd.org contains only a copy of pkg-1.0.X.txz in order to facilitate the bootstrap procedure for enabling pkgng on a new system. Availability of the new official pkg build cluster has been set back, as resources have instead been devoted to cleaning up after the compromise, and the distributed package building software is being heavily revised for improved security.
Target dates for when service may be resumed have not been released. In the mean time, pkgng users are advised to investigate tools such as poudriere or tinderbox.
So I'm not sure what to do. I would prefer using ports because I'm not sure if mixing the tree with binaries would be good.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.