Shop OBEX P1 Docs P2 Docs Learn Events
My try at propgcc build — Parallax Forums

My try at propgcc build

RsadeikaRsadeika Posts: 3,837
edited 2015-02-11 00:10 in Propeller 1
I tried this on an Ubuntu 14.10 box, below is what I am getting after doing a make. Not sure what is going on, I thought that this would be a much easier thing to accomplish. Scratching my head...

Thanks

Ray
make[4]: Nothing to be done for 'info'.
make[4]: Leaving directory '/home/ray/work/build/binutils/bfd/po'
make[4]: Entering directory '/home/ray/work/build/binutils/bfd'
make[4]: Nothing to be done for 'info-am'.
make[4]: Leaving directory '/home/ray/work/build/binutils/bfd'
Makefile:1617: recipe for target 'info-recursive' failed
make[3]: *** [info-recursive] Error 1
make[3]: Leaving directory '/home/ray/work/build/binutils/bfd'
Makefile:2505: recipe for target 'all-bfd' failed
make[2]: *** [all-bfd] Error 2
make[2]: Leaving directory '/home/ray/work/build/binutils'
Makefile:837: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/ray/work/build/binutils'
Makefile:160: recipe for target '/home/ray/work/propgcc/../build/binutils/binutils-built' failed
make: *** [/home/ray/work/propgcc/../build/binutils/binutils-built] Error 2
ray@ray-Inspiron-580:~/work/propgcc$

Comments

  • David BetzDavid Betz Posts: 14,516
    edited 2015-02-07 11:36
    Rsadeika wrote: »
    I tried this on an Ubuntu 14.10 box, below is what I am getting after doing a make. Not sure what is going on, I thought that this would be a much easier thing to accomplish. Scratching my head...

    Thanks

    Ray
    You might be running into the texinfo problem. This version of GCC only works with an older version of texinfo. You have to downgrade your texinfo to version 4.13.
  • RsadeikaRsadeika Posts: 3,837
    edited 2015-02-07 11:54
    You might be running into the texinfo problem. This version of GCC only works with an older version of texinfo. You have to downgrade your texinfo to version 4.13.
    What? Still scratching my head. Maybe I should install Ubuntu 9.04 and hope it matches up with the PropGCC build requirements, I am starting to really wonder if I am on the right track.

    Ray
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-07 12:18
    The propgcc build requirements shows how to install the older texinfo, I had to do that too.
    Rsadeika wrote: »
    What? Still scratching my head. Maybe I should install Ubuntu 9.04 and hope it matches up with the PropGCC build requirements, I am starting to really wonder if I am on the right track.

    Ray
  • RsadeikaRsadeika Posts: 3,837
    edited 2015-02-07 12:45
    Bill, I notice that you are having problems, and you are much better at this than I am. I do not stand a chance.

    Ray
    ray@ray-Inspiron-580:~$ wget http://ftp.gnu.org/gnu/textinfo/textinfo-4.13a.tar.gz
    --2015-02-07 15:31:40-- http://ftp.gnu.org/gnu/textinfo/textinfo-4.13a.tar.gz
    Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
    Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2015-02-07 15:31:41 ERROR 404: Not Found.

    ray@ray-Inspiron-580:~$
  • Bill HenningBill Henning Posts: 6,445
    edited 2015-02-07 13:14
    Personally, I think you stand a chance :-)

    I temporarily gave up due to a lack of time, but the texinfo fix is easy. Go for it!
    Rsadeika wrote: »
    Bill, I notice that you are having problems, and you are much better at this than I am. I do not stand a chance.

    Ray
  • SRLMSRLM Posts: 5,045
    edited 2015-02-07 17:42
    Rsadeika wrote: »
    Bill, I notice that you are having problems, and you are much better at this than I am. I do not stand a chance.

    Ray

    Did you make sure you have internet access? You should be able to go to the link directly and download the tar file manually if need be.
  • RsadeikaRsadeika Posts: 3,837
    edited 2015-02-08 08:20
    So, I got rid of Ubuntu 14.10 and installed Debian KDE, it went a little smoother, but not by much. I guess that textinfo is the stumbling block at the moment. You would think that the latest propgcc build would be updated to that, at the very least, unless the professional way is to remove the latest programs, and install old ones, so you can build propgcc. Having said that, anybody have any idea as to how I do a clean removal of the installed textinfo program, so I can install 4.13a?

    I got a download of textinfo-4.13a, I guess you need to be either sudo or be a dialout member, depends on what Linux desktop you are using. Which reminds me, maybe a large note somewhere in the build instructions, "Debian is the preferred desk top for building propgcc!".

    Once I get this to work, if I do a cross compile for rpi, what is the easiest way to get it installed onto a Raspberry Pi platform? I guess probably the same goes for a cross compile for Windows.

    Ray
  • DavidZemonDavidZemon Posts: 2,973
    edited 2015-02-08 13:26
    Rsadelka wrote:
    You would think that the latest propgcc build would be updated
    The latest version of GCC is updated to use newer dependencies. But many customizations were made to GCC 4.6 to create PropGCC, and it is no small feat upgrade PropGCC from 4.6 to 4.8. I've heard rumors such an upgrade may be in the works... but try to have some empathy for the maintainers in the meantime.

    If texinfo is installed via apt, you can uninstall via "sudo apt-get remove <any package>". Otherwise, you need to find the files and delete them.
  • RsadeikaRsadeika Posts: 3,837
    edited 2015-02-08 15:16
    ...but try to have some empathy for the maintainers in the meantime.
    You are absolutely correct, I will let things go, and not bring them up since I am not getting that much of a response to my posts.

    Ray
  • David BetzDavid Betz Posts: 14,516
    edited 2015-02-08 15:27
    Rsadeika wrote: »
    You are absolutely correct, I will let things go, and not bring them up since I am not getting that much of a response to my posts.

    Ray
    I think I did suggest downgrading texinfo. As far as I know, that is the only thing you need to do to get propgcc to build under Linux. I just built the default branch to make sure no problems had crept in since the last time I tried and it built successfully.
  • David BetzDavid Betz Posts: 14,516
    edited 2015-02-08 15:31
    FYI, here are the instructions for downgrading texinfo. They come directly from the PropGCC Wiki on Google Code.
    wget http://ftp.gnu.org/gnu/texinfo/texinfo-4.13a.tar.gz
    tar -zxvf texinfo-4.13a.tar.gz
    cd texinfo-4.13
    ./configure
    make
    sudo make install
    
    makeinfo --help
    
  • SRLMSRLM Posts: 5,045
    edited 2015-02-08 15:33
    Rsadeika wrote: »
    You would think that the latest propgcc build would be updated to that, at the very least, unless the professional way is to remove the latest programs, and install old ones, so you can build propgcc.

    The professional way is to make contributions to open source, and it sounds like you've found your calling. Good luck.
  • Heater.Heater. Posts: 21,230
    edited 2015-02-09 15:00
    Ray,
    Debian is the preferred desk top for building propgcc!.
    Oh Ray, I don't know where we go with this.

    We are living in a swamp of open source software that is changing every day.

    Programs have dependencies on compilers and tools and libraries. Anyone of which can change at any time and break things.

    A compiler, like prop-gcc, is just a program and is subject to all the above.

    prop-gcc is based on GCC, which no doubt has moved on since the prop-gcc project was started. I have no idea how or if prop-gcc is keeping up with development of the main-line GCC.

    So yes, it's impossible, to keep everything working all the time!

    As for Debian. Debian is not a "desktop". Debian is an operating system built on Linux and a ton of Free and Open Source software. There is a big choice of desktops in the Debian system.

    But yes, Debian tries to be very conservative and keep it's current stable versions stable. At the cost of having it's packages be a bit old and behind the times for some.

    I would imagine that a version of prop-gcc that was buildable and usable on Debian Wheezy a year or two or more ago still works today.

    Newer prop-gcc versions? Well that is a lottery.

    Hey, I have to try this. But wait, I'm already on Debian Jessie. :)
  • ersmithersmith Posts: 6,053
    edited 2015-02-09 15:12
    You can always do "make -k", which tells make to keep going even if there is an error. If the texutils version is the only issue you have, then you'll get a build that is only missing the documentation (which you can get elsewhere... not many people seem to read the documentation anyway :)).
  • msrobotsmsrobots Posts: 3,709
    edited 2015-02-11 00:10
    @ersmith,

    now that is a very useful information. Should be added to the install documentation. Honestly who reads the texutils generated files when having the parallax forum and provided Documentation.

    But a lot of people stumbled over the texutil thing already. Several threads.

    Thank you!

    Mike
Sign In or Register to comment.