Announcement

Collapse
No announcement yet.

compile & install e2fsprogs from source

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    compile & install e2fsprogs from source

    Hi,

    I'm trying to compile & install gparted from source and it requires e2fsprogs for installation. I have downloaded e2fsprogs, ./configure went fine, make went fine but then when I do make install, it gives me the following:
    Code:
    You don't have a working TeX binary installed, but the texi2dvi script
    can't proceed without it. If you want to use this script, you have to
    install some kind of TeX, for example TeX Live Debian packages. You can do
    that with this command:
           apt-get install texlive
    make[1]: [libext2fs.dvi] Error 1 (ignored)
            MKINSTALLDIRS /usr/share/info
            INSTALL_DATA /usr/share/info/libext2fs.info
            GZIP /usr/share/info/libext2fs.info*
    make[1]: Leaving directory `/home/reg/Downloads/e2fsprogs-1.42.8/doc'
    if test ! -d e2fsck && test ! -d debugfs && test ! -d misc && test ! -d ext2ed ; then make install-libs ; fi
    root@DesktopOffice:~/Downloads/e2fsprogs-1.42.8#
    I have installed TeX and added it to PATH but still can't get rid of it:
    Code:
    # latex small2e
    This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
     restricted \write18 enabled.
    entering extended mode
    (/usr/local/texlive/2013/texmf-dist/tex/latex/base/small2e.tex
    LaTeX2e <2011/06/27>
    Babel <3.9f> and hyphenation patterns for 78 languages loaded.
    (/usr/local/texlive/2013/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
    (/usr/local/texlive/2013/texmf-dist/tex/latex/base/size10.clo))
    No file small2e.aux.
    (/usr/local/texlive/2013/texmf-dist/tex/latex/base/omscmr.fd) [1]
    (./small2e.aux) )
    Output written on small2e.dvi (1 page, 1780 bytes).
    Transcript written on small2e.log.
    root@DesktopOffice:~/Downloads/install-tl-20130830# tex
    This is TeX, Version 3.1415926 (TeX Live 2013)
    **
    What do I need to do to get e2fsprogs to install properly?
    roN

    http://www.inetgate.biz

    #2
    Compiling

    Looking needed packages from the Ubuntu source: http://packages.ubuntu.com/saucy/e2fsprogs :

    Build-Depends: texi2html (>= 1.76), gettext, texinfo, pkg-config, gcc-multilib [mips mipsel], debhelper (>= 7.0), libblkid-dev (>= 2.16), uuid-dev (>= 2.16), m4
    Debhelper is needed to wrap to the deb package.


    How I would try

    1. I would download the sources from the Ubuntu: http://packages.ubuntu.com/saucy/e2fsprogs or from the Debian: http://packages.debian.org/jessie/e2fsprogs

    Download Source Package e2fsprogs:
    [e2fsprogs_1.42.8-1ubuntu1.dsc]
    [e2fsprogs_1.42.8.orig.tar.gz]
    [e2fsprogs_1.42.8-1ubuntu1.debian.tar.gz]
    Unpack them:
    Code:
    dpkg-source -x *.dsc
    2. Install:

    - build-essential
    - fakeroot
    - dpkg-dev
    - those 'Build-Depends' packages

    3. Compile and build the deb package(s)

    Code:
    dpkg-buildpackage -b -rfakeroot -us -uc
    man dpkg-buildpackage
    NAME
    dpkg-buildpackage - build binary or source packages from sources

    SYNOPSIS
    dpkg-buildpackage [option...]

    OPTIONS
    -b Specifies a binary-only build, no source files are to be built and/or distributed. Passed to
    dpkg-genchanges.

    -rgain-root-command
    When dpkg-buildpackage needs to execute part of the build process as root, it prefixes the com‐
    mand it executes with gain-root-command if one has been specified. Otherwise, if none has been
    specified, fakeroot will be used by default,...

    -us Do not sign the source package.

    -uc Do not sign the .changes file.

    Links

    Compiling things on Ubuntu the Easy Way: https://help.ubuntu.com/community/CompilingEasyHowTo
    Compiling Software: https://help.ubuntu.com/community/CompilingSoftware
    Last edited by Rog132; Aug 30, 2013, 12:52 PM.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      OK so curiosity is getting the better of me ,,,,, why do you want to compile Gparted ,,,,and e2fsprogs is part of a default install ,,,so why is it missing?
      I know , I know ...... stop asking dumb questions Vinny

      But I am curious

      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        Originally posted by vinnywright View Post
        OK so curiosity is getting the better of me ,,,,, why do you want to compile Gparted ,,,,and e2fsprogs is part of a default install ,,,so why is it missing?
        I know , I know ...... stop asking dumb questions Vinny

        But I am curious

        VINNY
        Okay, my system is on the brink of the cliff. apt-get doesn't work anymore (see thread http://www.kubuntuforums.net/showthr...ource&p=334266) and in order to reinstall, I would like to create a separate partition for my home directory (everything is on one,currently) and doing some rather quick Googling, I found that GParted (I know it's for Gnome) will help me, do exactly that...
        roN

        http://www.inetgate.biz

        Comment


          #5
          Originally posted by vinnywright View Post
          OK so curiosity is getting the better of me ,,,,, why do you want to compile Gparted ,,,,and e2fsprogs is part of a default install ,,,so why is it missing?
          I know , I know ...... stop asking dumb questions Vinny

          But I am curious

          VINNY
          And this is what I get when compiling intltool (depency from GParted):
          Code:
          hdr_check.h:1:23: fatal error: uuid/uuid.h: No such file or directory
          compilation terminated.
          
          *** ERROR: <uuid/uuid.h> seems to be missing ***
          please install libuuid from e2fsprogs (available as uuid-dev on debian)
          
          root@DesktopOffice:~/Downloads/Data-UUID-LibUUID-0.05#
          thus i wanted to installe2fsprogs
          roN

          http://www.inetgate.biz

          Comment


            #6
            sounds like it would be easyer for you to DL a Gparted live .iso and burn it to a cd or make a live usb from it.

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              http://gparted.sourceforge.net/download.php


              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                Originally posted by reggler View Post
                And this is what I get when compiling intltool (depency from GParted):
                Code:
                hdr_check.h:1:23: fatal error: uuid/uuid.h: No such file or directory
                compilation terminated.
                
                *** ERROR: <uuid/uuid.h> seems to be missing ***
                please install libuuid from e2fsprogs (available as uuid-dev on debian)
                thus i wanted to installe2fsprogs
                Like the error says, you'd need to install package "uuid-dev" (development headers for uuid) for /usr/include/uuid/uuid.h

                But you really should elaborate what and why you're trying to accomplish (otherwise this will quickly turn into a wild goose chase for which development packages you need):

                1. Why do you wish/need to build gparted?
                2. Why do you wish/need to build it's dependencies (like dev headers) instead of installing them?

                Comment


                  #9
                  turns out, e2fsprogs compiled just fine and all i had to do was "make install" and "make install-libs".
                  Got *parted* installed on my system now
                  roN

                  http://www.inetgate.biz

                  Comment


                    #10
                    Originally posted by reggler View Post
                    Got *parted* installed on my system now
                    STOP!

                    You can't re-partition the hard drive from the OS running on it!

                    Make the GParted Live CD as vinny suggested, or a Parted Magic Live CD/USB stick, boot that, and then you can shrink your existing OS partition and make a new partition in the resulting unallocated space that will be large enough for your user data. Then reboot your system to your Kubuntu OS and mount the new partition, and copy your data over to it.

                    Comment

                    Working...
                    X