Downloading DDD - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Downloading DDD

Description:

The `configure' shell script attempts to guess correct values for various system ... Configure is a shell script that attempts to find correct values for various ... – PowerPoint PPT presentation

Number of Views:25
Avg rating:3.0/5.0
Slides: 10
Provided by: mantonm5
Category:
Tags: ddd | downloading

less

Transcript and Presenter's Notes

Title: Downloading DDD


1
Downloading DDD
CSCE 212 Computer Architecture
  • Topics
  • Lab 2 comments - redrop
  • Lab 3

February 3, 2005
2
Downloading DDD
  • Google GUI GDB //for graphical user interface
    for gdb
  • Visit ddd site
  • Download saving
  • ddd-3.3.10.tar.gz, and ddd-3.3.10.tar.gz.sig
  • Put in right directory CLASS/bin
  • tar xvf ddd-3.3.10.tar // usually have to run
    gzip for gz
  • //
    Mozilla must have helped here
  • Building DDD an next few slides

3
Looking Around
  • aresgt cd ddd-3.3.10
  • aresgt ls
  • AUTHORS Makefile.in aclocal.m4 ddd.spec.in m
    issing
  • COPYING NEWS config.guess
    depcomp mkinstalldirs
  • COPYING.DOC PROBLEMS config.sub doc/
    texinfo/
  • COPYING.LIB README configure
    etc/ themes/
  • CREDITS TIPS configure.ac
    icons/ vsllib/
  • INSTALL TODO ddd/
    install-sh
  • Makefile.am acinclude.m4 ddd-3.3.10-1.spec
    ltmain.sh
  • Where to look first?
  • README
  • INSTALL

4
  • aresgt cd ddd-3.3.10
  • aresgt ls
  • AUTHORS Makefile.in aclocal.m4
    ddd.spec.in missing
  • COPYING NEWS config.guess
    depcomp mkinstalldirs
  • COPYING.DOC PROBLEMS config.sub
    doc/ texinfo/
  • COPYING.LIB README configure
    etc/ themes/
  • CREDITS TIPS configure.ac
    icons/ vsllib/
  • INSTALL TODO ddd/
    install-sh
  • Makefile.am acinclude.m4 ddd-3.3.10-1.spec
    ltmain.sh

5
The INSTALL file
  • Basically, to build and install DDD from sources,
    you enter three
  • commands
  • ./configure
  • make
  • make install
  • The configure' shell script attempts to guess
    correct values for various system-dependent
    variables used during compilation.
  • It uses those values to create a Makefile' in
    each directory of the DDD package.
  • It also creates some .h' files containing
    system-dependencies

6
Running Configure
  • Configure is a shell script that attempts to find
    correct values for various system-dependent
    variables used during compilation
  • aresgt ./configure
  • checking build system type... i686-pc-linux-gnu
  • checking host system type... i686-pc-linux-gnu
  • checking target system type... i686-pc-linux-gnu
  • config.status executing ddd/stamp-h commands
  • configure
  • configuration is done. Type make' to make DDD.
  • In case of trouble, please check the settings in
    the files generated
  • by configure' - that is, ddd/config.h' and
    ddd/Makefile'.
  • aresgt

7
Running Make
  • Make builds software packages with minimal
    recompilation
  • aresgt make
  • make2 Leaving directory /class/csce212-501/bin
    /ddd-3.3.10/ddd'
  • make1 Leaving directory /class/csce212-501/bin
    /ddd-3.3.10/ddd'
  • make1 Entering directory /class/csce212-501/bi
    n/ddd-3.3.10'
  • make1 Nothing to be done for all-am'.
  • make1 Leaving directory /class/csce212-501/bin
    /ddd-3.3.10'

8
Installing
  • aresgt make install
  • /usr/bin/ginstall -c ddd /usr/local/bin/ddd
  • /usr/bin/ginstall cannot create regular file
    /usr/local/bin/ddd' Permission denied
  • make1 install-binPROGRAMS Error 1
  • make1 Leaving directory /class/csce212-501/bin
    /ddd-3.3.10/ddd'
  • make install-am Error 2
  • aresgt

9
Search Makefile for Directory
  • Searched for
  • INSTALL_DIR and variations
  • Dir
  • Finally found prefix /usr/local
  • MMM Changed from this - prefix /usr/local
  • to the line below
  • prefix /class/csce212-501/
Write a Comment
User Comments (0)
About PowerShow.com