[Midnightbsd-users] How to specify a build type?

Lucas Holt luke at foolishgames.com
Tue Aug 21 13:56:43 EDT 2007


This is a  configure error.  There are two options.  Sometimes you  
can do --build=machinetype-whatever-freebsd6.0 so for most people -- 
build=i386-unknown-freebsd6.0 would be fine.  You may also need to  
add --host=i386-unknown-freebsd6.0

The other option is to replace and/or modify config.sub and  
config.guess with versions that include MidnightBSD.  Many  
applications will then build properly.  If not, they may include  
FreeBSD specific behavior which is also needed in MidnightBSD.  If  
you use this option and get software working, send a patch using the  
diff tool to the original author of the program.  They might be  
willing to include it in future versions.

On Aug 21, 2007, at 10:42 AM, Stevan Tiefert wrote:

> Hello,
>
> I have downloaded may packages they are not in the mports. When I want
> to build them like described in their INSTALL documentation, then I  
> run
> sometimes in this type of errors:
>
> -------8<
> /usr/bin/uname -p = i386
> /bin/uname -X     =
>
> hostinfo               =
> /bin/universe          =
> /usr/bin/arch -k       =
> /bin/arch              =
> /usr/bin/oslevel       =
> /usr/convex/getsysinfo =
>
> UNAME_MACHINE = i386
> UNAME_RELEASE = 0.1-RELEASE
> UNAME_SYSTEM  = MidnightBSD
> UNAME_VERSION = MidnightBSD 0.1-RELEASE #0: Tue Aug 21 06:48:23 CEST
> 2007     stevan at midnight.seraphim:/usr/obj/usr/src/sys/GENERIC
> configure: error: cannot guess build type; you must specify one
>
>
> ------------8<
>
> How can I prevent this? Did I had to set a variable?
>
> With regards
> Stevan Tiefert
> _______________________________________________
> Midnightbsd-users mailing list
> Midnightbsd-users at stargazer.midnightbsd.org
> http://www.midnightbsd.org/mailman/listinfo/midnightbsd-users



Lucas Holt
Luke at FoolishGames.com
________________________________________________________
MidnightBSD.org (Free OS)
JustJournal.com (Free blogging)






More information about the Midnightbsd-users mailing list