D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Modem problem

 

On 07/10/06 20:57:15, Shane Humphrey wrote:
  2. Extract the archive into a directory with "tar -zxvf
<archivename>.tgz
  3. cd into the directory it created.
  4. Type: make clean
  5. Type: make 536ep
  6. Type: makeinstall-536ep

  I am stuck at step 2 as the files on the disc aren't tar files.

The files you have listed are already expanded.

  Linux folder contents on driver CD:
  536ep-boot
  536ep-inst
  hamregistry
  Readme.txt
  Makefile

Makefile is the target of the 'make' command.

  vssver.scc
  Folder - Coredrv contains:
  536epcore.lib
  rts.c
  clmmain.c

These .c files are the C source code that 'make' will pass to gcc to compile the program according to the instructions in the Makefile.

$ cd /media/cdrom/foo/
# or whatever your CD path is for the directory ABOVE the source
$ tar -czf ~/536epdriver.tar.gz driver-source-dir/
$ cd ~

Now do step two.

i.e. Instead of simply copying the files from the CD (where the permissions are all read-only), create a tar.gz from the CD files and decompress that on your local filesystem so that the files are written with YOUR UID and writable permissions.

--

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpk0eaKmCYyg.pgp
Description: PGP signature

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html