Packages needed for configuring software

Discussion in 'Server Operation' started by satimis, Oct 25, 2008.

  1. satimis

    satimis Member

    Hi folks,

    Debian Etch - base installation, running as domU (guest) on a Xen box

    I'm installing BIND on its tarball and encountering following problem.

    # ./configure --prefix=/usr/local/bind
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking whether make sets $(MAKE)... no
    checking for ranlib... ranlib
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking for ar... /usr/bin/ar
    checking for etags... no
    checking for emacs-etags... no
    checking for perl5... no
    checking for perl... /usr/bin/perl
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.

    # cat /usr/local/src/bind-9.5.0/config.log
      $ ./configure --prefix=/usr/local/bind
    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown
    /bin/arch              = i686
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    PATH: /usr/local/sbin
    PATH: /usr/local/bin
    PATH: /usr/sbin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /bin

    $ apt-file search /bin/etags | grep etags
    emacs21-bin-common: usr/bin/etags.emacs21
    xemacs21-bin: usr/bin/etags.xemacs21
    Which package shall I install ?

    $ apt-file search /bin/etags | grep emacs-etags
    No printout

    What package shall I install ?

    $ apt-file search /bin/perl5 | grep perl5
    perl-base: usr/bin/perl5.8.8
    To install perl-base ?

    $ apt-file search /bin/gcc | grep gcc
    ccontrol: usr/bin/gccontrol
    gcc: usr/bin/gcc
    gcc: usr/bin/gccbug
    gcc-2.95: usr/bin/gcc-2.95
    gcc-3.3: usr/bin/gcc-3.3
    gcc-3.3: usr/bin/gccbug-3.3
    gcc-3.4: usr/bin/gcc-3.4
    gcc-3.4: usr/bin/gccbug-3.4
    gcc-4.1: usr/bin/gcc-4.1
    gcc-4.1: usr/bin/gccbug-4.1
    gcc272: usr/bin/gcc272
    gccxml: usr/bin/gccxml
    gccxml: usr/bin/gccxml_cc1plus
    icecc: usr/lib/icecc/bin/gcc
    pentium-builder: usr/bin/gcc
    xutils-dev: usr/bin/gccmakedep
    To install gcc-4.1 ?

    $ apt-file search /bin/cl.exe | grep cl.exe
    No printout

    What package shall I install ?

    $ apt-file search /bin/cc | grep cc
    ccache: usr/bin/ccache
    ccal: usr/bin/ccal
    cccc: usr/bin/cccc
    cccd: usr/bin/cccd
    ccmalloc: usr/bin/ccmalloc
    ccontrol: usr/bin/ccontrol
    ccontrol: usr/bin/ccontrol-init
    ccrypt: usr/bin/ccat
    ccrypt: usr/bin/ccdecrypt
    ccrypt: usr/bin/ccencrypt
    ccrypt: usr/bin/ccrypt
    ccs: sbin/ccs_test
    ccs: sbin/ccs_tool
    ccs: sbin/ccsd
    ccze: usr/bin/ccze
    ccze: usr/bin/ccze-cssdump
    cfs: usr/bin/ccat
    cmake: usr/bin/ccmake
    graphviz: usr/bin/ccomps
    heartbeat-2: usr/sbin/ccm_tool
    hercules: usr/bin/cckd2ckd
    hercules: usr/bin/cckdcdsk
    hercules: usr/bin/cckdcomp
    hercules: usr/bin/cckddiag
    hercules: usr/bin/cckdswap
    icecc: usr/lib/icecc/bin/cc
    libccscript2-0.6-3: usr/bin/ccscript
    libcommoncpp2-dev: usr/bin/ccgnu2-config
    libpam-ccreds: usr/sbin/cc_dump
    libpam-ccreds: usr/sbin/cc_test
    liwc: usr/bin/ccmtcnvt
    psi3: usr/bin/ccdensity
    psi3: usr/bin/ccenergy
    psi3: usr/bin/cceom
    psi3: usr/bin/cceom-d
    psi3: usr/bin/cchbar
    psi3: usr/bin/cclambda
    psi3: usr/bin/ccresponse
    psi3: usr/bin/ccsort
    psi3: usr/bin/cctriples
    shishi: usr/bin/ccache2shishi
    shishi-dbg: usr/lib/debug/usr/bin/ccache2shishi
    wims: var/lib/wims/bin/ccsum
    xutils-dev: usr/bin/ccmakedep
    Which of the above package shall I install ? Which C compiler shall I install? Any other additional packages ?

    Please help. TIA

    Last edited: Oct 25, 2008
  2. MiniMe

    MiniMe Member

    apt-get install gcc

    should be fine afaik
  3. marpada

    marpada New Member

    Last edited: May 13, 2011
  4. satimis

    satimis Member

    Hi MiniMe,

    Thanks for your advice.

    It needs gcc, g++, make and binutils to do the job.

  5. satimis

    satimis Member

    Hi marpada,

    Thanks for your advice.

    I have been following 3 howto building mail server running postfix virtual and mysql. After finish none of the server can work properly.

    Now I'm making the 4th round by following;

    This howto requires building all relevant packages from source. That is the background story.

    It also requires "Download all software into /usr/local/src folder" (see requirement).

    # ls -ld /usr/local
    drwxrwsr-x 10 root staff 4096 Oct 26 09:50 /usr/local
    # ls -ld /usr/local/src
    drwxrwsr-x 2 root staff 4096 Oct 26 09:50 /usr/local/src
    User other than root can't work on these folders/directories. How to solve the problem? Change all of them to "satimis:satimis"? Or create "wheel" on /etc/ground and add "staff, root and satimis" on wheel group?

    Any advice? TIA

  6. martien

    martien New Member

    I think this howto (the link) is for *bsd. I don't see any reason to build all this from source. Look for postfix on linux howto. (there is a whole category here at howtoforge)
  7. satimis

    satimis Member

    Hi martien,

    I built one of the 3 mail servers mentioned by following a howto on howtoforge still having unsolved problem. Fortunately I built all of them as domU (guest) on a Xen box. It is easy for me to manage.

    I already started the 4th mail server following the howto mentioned on my last posting. It is almost finished. I'm now stuck on installing courier-imap. I'm now allowed to compile it as root. I'm still struggling. Otherwise I'll extract/compile/install it on /tmp

    I did quite a lot installing packages from source when I built my own Linux dist., LinuxFromScratch, 3~4 years ago. It is not a difficult problem to me. Also I ran OpenBSD and FreeBSD quite sometimes.


Share This Page