Skip site navigation (1)Skip section navigation (2)
Date:      12 Nov 1998 23:27:51 -0500
From:      Cory Kempf <ckempf@enigami.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   Kernel doesn't want to compile anymore :-(
Message-ID:  <x7sofo43p4.fsf@singularity.enigami.com>

next in thread | raw e-mail | index | archive | help
cvsup'd / buildworld / installworld sometime today...
make depend in my kernel directory gives an error:

perl ../../kern/makedevops.pl -c ../../kern/device_if.m
Can't locate File/Basename.pm in @INC (@INC contains: /usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl .) at ../../kern/makedevops.pl line 50.
BEGIN failed--compilation aborted at ../../kern/makedevops.pl line 50.
*** Error code 2

Doing a find on "Basename.pm" produces the following:

	/usr/libdata/perl/5.00502/File/Basename.pm
	/usr/obj/aout/usr/src/gnu/usr.bin/perl/perl/lib/File/Basename.pm
	/usr/obj/aout/usr/src/gnu/usr.bin/perl/suidperl/lib/File/Basename.pm
	/usr/obj/elf/usr/src/gnu/usr.bin/perl/perl/lib/File/Basename.pm
	/usr/obj/elf/usr/src/gnu/usr.bin/perl/suidperl/lib/File/Basename.pm
	/usr/src/contrib/perl5/lib/File/Basename.pm

None of which seem to be in the above @INC paths

Unfortunately, my knowledge of perl is pretty minimal... 

So, suggestions?

Thanks,

+C



My kernel config file, on the off chance it helps...

#
# SIN
#

machine		"i386"
cpu		"I686_CPU"
ident		SIN
maxusers	32

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MFS
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		KTRACE			#kernel tracing

options		SYSVSHM
options		DDB
#options		BOUNCE_BUFFERS		#For ADV controller
options		"AHC_ALLOW_MEMIO"
options		CONSPEED=115200		#default speed for serial console
options		"MSGBUF_SIZE=32768"

config		kernel	root on da0s1a

controller	isa0
controller	pci0
controller	eisa0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
#disk		fd1	at fdc0 drive 1

#controller	aic0
controller	ahc0
controller	ahc1
#controller	adv0
#controller	adv1	at isa? port ? cam irq ? vector adv_isa_intr
#controller	bt0
#controller	ncr0	at isa? port ? cam irq ? vector adv_isa_intr

controller	scbus0 at ahc0 bus 0
controller	scbus1 at ahc1 bus 0
#controller	scbus2 at ncr0 bus 0

device		da0	# direct access: disk
device		sa0	# sequential access: tape
device		pass0	# passthrough device

#device		da0 at scbus0 target 0
#device		da8 at scbus1 target 0
#device		da9 at scbus1 target 1
#device		da10 at scbus1 target 2
#device		da11 at scbus1 target 3

#device		od0

device		cd0

#device		pt0

#device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
# for the Sony CDU31/33A CDROM
#device		scd0	at isa? port 0x230 bio
#controller      matcd0  at isa? port 0x230 bio
#device          wcd0

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio0	at isa? port "IO_COM1" tty irq 4 flags 0x10 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		fxp0
device		de0


pseudo-device	loop
pseudo-device	ether
pseudo-device	pty		16
pseudo-device	bpfilter	4
pseudo-device	tun		4
# keep this if you want to be able to continue to use /stand/sysinstall
pseudo-device	gzip		# Exec gzipped a.out's
#pseudo-device	ccd	4	#Concatenated disk driver
options		DEVFS
options		NETATALK
options		"MD5"
options		KERNFS
options		FFS_ROOT
options		PPS_SYNC

# Sound
#controller	snd0
#device 	pcm0 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr
#device 	pcm1 at isa? port ? tty irq 10 drq 1 flags 0x0 vector pcmintr
#device sb0      at isa? port 0x220 irq 5 drq 1
#device sbxvi0   at isa? drq 5
#device sbmidi0  at isa? port 0x330


# mouse
device	psm0 at isa? port IO_KBD conflicts tty irq 12 vector psmintr

pseudo-device	vn		# VNode Driver (turns a file into a device)
options         SYSVSEM
options         SYSVMSG

#SMP:
options		SMP
options		APIC_IO
options		NCPU=2
options		NBUS=3
options		NAPIC=1
options		NINTR=24
#
# for WINE
#
options		USER_LDT
#
# PNP
#
#controller	pnp0



-- 
Thinking of purchasing RAM from the Chip Merchant?  
Please read this first: <http://www.enigami.com/~ckempf/chipmerchant.html>;

Cory Kempf                Macintosh / Unix Consulting & Software Development
ckempf@enigami.com        <http://www.enigami.com/~ckempf/>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?x7sofo43p4.fsf>