Re: wip/kegs

'Thomas Klausner' <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Thu, May 07, 2009 at 08:51:17AM -0500, Larson, Timothy E. wrote:
> I think the developers have only tried it on a limited number of platforms, so those are the only ones that they have supplied their set of custom vars/flags for.  Systems similar to the ones they've tried might be able to use one of those var/flag sets-in fact, that's what they suggest doing when attempting to build on unsupported systems.  (That's how I got NetBSD/i386 to build.)  Like I mentioned, I could try mapping systems to configs, based on endianness and other factors, to try to cover more architectures, but obviously there are no guarantees.

I get:
===> Building for kegs-0.91
if [ -L /scratch/wip/kegs/work/kegs.0.91/src/vars ]; then /bin/rm /scratch/wip/kegs/work/kegs.0.91/src/vars; fi
Building for NetBSD on x86_64...
x86_64 is not supported, but might work...
cc -O2 -Wall -fomit-frame-pointer -march=pentium -I/usr/pkg/include -c -DKEGS_LITTLE_ENDIAN -I. adb.c
...
cc -O2 -Wall -fomit-frame-pointer -march=pentium -I/usr/pkg/include -c -DKEGS_LI
TTLE_ENDIAN -I. scc_socket_driver.c
clock.c:1: error: CPU you selected does not support x86-64 instruction set
clock.c:1: error: CPU you selected does not support x86-64 instruction set
config.c:1: error: CPU you selected does not support x86-64 instruction set
config.c:1: error: CPU you selected does not support x86-64 instruction set
...

pkglint complains:
WARN: Makefile:14: Unknown hardware architecture: ppc
WARN: Makefile:16: Unknown hardware architecture: ppc
WARN: Makefile:26--38: The shell command "case" should not be hidden.
WARN: Makefile:41: Using "${WRKSRC}/.." is conceptually wrong. Please use a combination of WRKSRC, CONFIGURE_DIRS and BUILD_DIRS instead.
WARN: Makefile:42: Using "${WRKSRC}/.." is conceptually wrong. Please use a combination of WRKSRC, CONFIGURE_DIRS and BUILD_DIRS instead.
WARN: Makefile:43: Using "${WRKSRC}/.." is conceptually wrong. Please use a combination of WRKSRC, CONFIGURE_DIRS and BUILD_DIRS instead.

Can someone with an i386 please take a look at this?
 Thomas

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.