From: Patrick Durusau
Subject: Allegro Install Problem
Date: 
Message-ID: <3316E20F.3215@emory.edu>
Hello,

I have a copy of Allegro CL for Linux version 4.3 but I am having
difficulty getting it to install.  I have created the proper directory
under /usr and have copied the files from the CD-ROM to the /usr/acl4.3
directory.  When I run build/install_lisp I get the following messages:

/usr/include/linux/types.h:5: asm/types.h: no such file or directory
/usr/include/linux/socket.h:4: asm/socket.h: no such file or directory
/usr/include/linux/sockio.h:21: asm/sockio.h: no such file or directory
/usr/include/linux/fcnt1.h:4: /asm/fcnt1.h: no such file or directory

All of the requested files can be found in /usr/include/linux so I am
not sure why the install program is complaining.  I have tried to run
the binary, bin/pb_cl, but that produces a segmentation fault(?).  

Any suggestions or comments would be greatly appreciated.

Patrick

Patrick Durusau
Information Technology
Scholars Press
········@emory.edu

From: Mark J. Dulcey
Subject: Re: Allegro Install Problem
Date: 
Message-ID: <3316F346.7282@ziplink.net>
Patrick Durusau wrote:
> 
> Hello,
> 
> I have a copy of Allegro CL for Linux version 4.3 but I am having
> difficulty getting it to install.  I have created the proper directory
> under /usr and have copied the files from the CD-ROM to the /usr/acl4.3
> directory.  When I run build/install_lisp I get the following messages:
> 
> /usr/include/linux/types.h:5: asm/types.h: no such file or directory
> /usr/include/linux/socket.h:4: asm/socket.h: no such file or directory
> /usr/include/linux/sockio.h:21: asm/sockio.h: no such file or directory
> /usr/include/linux/fcnt1.h:4: /asm/fcnt1.h: no such file or directory
> 
> All of the requested files can be found in /usr/include/linux so I am
> not sure why the install program is complaining.  I have tried to run
> the binary, bin/pb_cl, but that produces a segmentation fault(?).


Your problem is that the files are /usr/include/linux, and the Allegro
install wants them to be in /usr/include/linux/asm -- it says so right
there in the error messages.  Probably the simplest fix is to create an
asm subdirectory under /usr/include/linux, and put symlinks to the files
that Allegro complains about in there.
From: Patrick Durusau
Subject: Re: Install Problem Remains
Date: 
Message-ID: <3317326C.42D8@emory.edu>
Mark J. Dulcey wrote:

> Your problem is that the files are /usr/include/linux, and the Allegro
> install wants them to be in /usr/include/linux/asm -- it says so right
> there in the error messages.  Probably the simplest fix is to create an
> asm subdirectory under /usr/include/linux, and put symlinks to the files
> that Allegro complains about in there.

I tried this fix but the error message remains the same.  It is worth
noting that
/usr/include/asm is a sybolic link to /usr/src/linux/include/asm-i386
which includes 
all the files listed in the error message.  

I think the numbers in the error messages refer to line numbers in the
cl_nih.c file as
it appears to be at that point that the script is failing. Naturally the
script assumes
the present of cc and not gcc so that may be part of the problem.  But
my gcc also responds 
to cc and is version 2.7.2.1.

Further suggestions?

Patrick

Patrick Durusau
Information Technology
Scholars Press
········@emory.edu
From: Barry Perryman
Subject: Re: Allegro Install Problem
Date: 
Message-ID: <01bc27b7$1ec0c6e0$0f01a8c0@bperryman>
Mark J. Dulcey <····@ziplink.net> wrote in article
<·············@ziplink.net>...
> Patrick Durusau wrote:
> > 
> > Hello,
> > 
> > I have a copy of Allegro CL for Linux version 4.3 but I am having
> > difficulty getting it to install.  I have created the proper directory
> > under /usr and have copied the files from the CD-ROM to the /usr/acl4.3
> > directory.  When I run build/install_lisp I get the following messages:
> > 
> > /usr/include/linux/types.h:5: asm/types.h: no such file or directory
> > /usr/include/linux/socket.h:4: asm/socket.h: no such file or directory
> > /usr/include/linux/sockio.h:21: asm/sockio.h: no such file or directory
> > /usr/include/linux/fcnt1.h:4: /asm/fcnt1.h: no such file or directory
> > 
> > All of the requested files can be found in /usr/include/linux so I am
> > not sure why the install program is complaining.  I have tried to run
> > the binary, bin/pb_cl, but that produces a segmentation fault(?).
> 
> 
> Your problem is that the files are /usr/include/linux, and the Allegro
> install wants them to be in /usr/include/linux/asm -- it says so right
> there in the error messages.  Probably the simplest fix is to create an
> asm subdirectory under /usr/include/linux, and put symlinks to the files
> that Allegro complains about in there.
> 

Not quite, what the error messages are saying is that file 
/usr/include/linux/types.h can not include file asm/types.h at line 5. Most
of
the asm/*.h files are to be found when you install the source to the
kernel, 
if you don't have the kernel source installed you won't have these files - 
this is easy to check by typing:

cat /usr/include/asm/types.h

if you don't see a files scroll by, then you need to install the kernel 
source.

Another possibility is permissions, you may not have permission to read the
header file, either compile it as root or change the permissions on asm/*.h
files to something like 644 - man chmod for details.

HTH

Barry
From: Vassili Bykov
Subject: Re: Allegro Install Problem
Date: 
Message-ID: <01bc258a$52da8b20$752d54c7@vbykov.hip.cam.org>
Patrick Durusau <········@emory.edu> wrote in article
<·············@emory.edu>...
> Hello,
> 
> I have a copy of Allegro CL for Linux version 4.3 but I am having
> difficulty getting it to install.  I have created the proper directory
> under /usr and have copied the files from the CD-ROM to the /usr/acl4.3
> directory.  When I run build/install_lisp I get the following messages:
> 
> /usr/include/linux/types.h:5: asm/types.h: no such file or directory
> /usr/include/linux/socket.h:4: asm/socket.h: no such file or directory
> /usr/include/linux/sockio.h:21: asm/sockio.h: no such file or directory
> /usr/include/linux/fcnt1.h:4: /asm/fcnt1.h: no such file or directory
> 
> All of the requested files can be found in /usr/include/linux [...]

It wants /usr/include/linux/asm/types.h, (note "asm") etc. If you don't
have these you have to install the kernel sources.
From: Zlatko Calusic
Subject: Re: Allegro Install Problem
Date: 
Message-ID: <87sp2gcwgr.fsf@pc-zcalusic.srce.hr>
Patrick Durusau <········@emory.edu> writes:

> Hello,
> 
> I have a copy of Allegro CL for Linux version 4.3 but I am having
> difficulty getting it to install.  I have created the proper directory
> under /usr and have copied the files from the CD-ROM to the /usr/acl4.3
> directory.  When I run build/install_lisp I get the following messages:
> 
> /usr/include/linux/types.h:5: asm/types.h: no such file or directory
> /usr/include/linux/socket.h:4: asm/socket.h: no such file or directory
> /usr/include/linux/sockio.h:21: asm/sockio.h: no such file or directory
> /usr/include/linux/fcnt1.h:4: /asm/fcnt1.h: no such file or directory
> 
> All of the requested files can be found in /usr/include/linux so I am
> not sure why the install program is complaining.  I have tried to run
> the binary, bin/pb_cl, but that produces a segmentation fault(?).  
> 
> Any suggestions or comments would be greatly appreciated.
> 
> Patrick
> 
> Patrick Durusau
> Information Technology
> Scholars Press
> ········@emory.edu
> 

Just make one symbolic link and you'll be fine:

cd /usr/include
rm -rf asm
ln -s /usr/src/linux/include/asm-i386 asm

And that's all.

I assumed you have Intel platform, and kernel source untarred under
/usr/src.

-- 
Posted by Zlatko Calusic                     E-mail: <········@srce.hr>
-----------------------------------------------------------------------
Faculty of Electrical Engineering and Computer Science, Zagreb, Croatia

	"Luke... Luke... Use the MOUSE, Luke" - Obi Wan Gates
From: David Fenyes
Subject: Re: Allegro Install Problem
Date: 
Message-ID: <x6rahzwdqx.fsf@msrad71.med.uth.tmc.edu>
Patrick Durusau <········@emory.edu> writes:

> I have a copy of Allegro CL for Linux version 4.3 but I am having
> difficulty getting it to install.
  [snip]
  [error messages: not able to fine /usr/include/asm/*
 
> All of the requested files can be found in /usr/include/linux so I
> am not sure why the install program is complaining.

Yes, but these include files with similar names in
/usr/include/asm/linux.  Look at them.

> I have tried to run the binary, bin/pb_cl, but that produces a
> segmentation fault(?).
> 
> Any suggestions or comments would be greatly appreciated.

Franz, Inc. says that they intend the system to work with Red Hat
4.0.  I don't know if they specify the full development environment
must be installed, but obviously you need the kernel sources and
proper library.  You didn't mention what installation and library
version you have.  Maybe you're out of date, (or too cutting edge :-).

I *can* say that I have a not-quite-redhat 4.0 system, and found that
installation proceeded without difficulties.  My only problem is that
fi:common-lisp-mode always prompts for directory, etc. when I start
up, rather than storing all that information.  I'm sure that this is a
configuration error on my part, though.

Cheers,

David.


-- 
David Fenyes                               University of Texas Medical School
····@msrad71.med.uth.tmc.edu               Dept. of Radiology