Menu

Problems with installing development version

Help
2023-09-23
2023-10-02
1 2 3 > >> (Page 1 of 3)
  • Kyle Rickards

    Kyle Rickards - 2023-09-23

    Hi

    So on one laptop i have the stable IDJC newest version running and i tried installing the devt on a spare one, but i get stuck at configure.ac4 error Autoconf version 2.71 or higher required. Then a line abouto autom4te, aclocal and autoreconf, (can't copy code easily as on ipad at moment)

    Is there any fix?
    Thanks
    Kyle

     
  • Brian Millham

    Brian Millham - 2023-09-24

    What distribution? I have the latest commit checked out and I can run ./configure CFLAGS="-O2" --prefix=/usr fine. I'm on Pop OS 22.04.

     
  • Stephen Fairchild

    You have a spare laptop. I guess that means you have not performed a system update in a while or kept up with the latest system version?

     
  • Kyle Rickards

    Kyle Rickards - 2023-09-24

    i was mindly gufted two old ones, one is runn8ne MInt 20.3 Una and one is running 21.2.

     
  • Stephen Fairchild

    Version 21.2 is the latest one against expectations. How about the following commands.

    sudo apt update
    sudo apt upgrade
    
     
  • Kyle Rickards

    Kyle Rickards - 2023-09-24

    Just creating a safety image of 21.2 and will try. The 20.3 upgrade didnt work so i may use this image on that machine also.

     
  • Kyle Rickards

    Kyle Rickards - 2023-09-24

    So I am on 21.2 machine and followed the instructions - I got as far as Make before I got errors thrown up. (See below)

    On the older laptop I still have a newer version of IDJC to me (the one with the loudness meters and to further throw matters I am still using my version of IDJC on my desktop that I broadcast my shows with each week so that's three now)make make all-recursive make[1]: Entering directory '/home/reclaimed2/idjc' Making all in po make[2]: Entering directory '/home/reclaimed2/idjc/po' make[2]: Leaving directory '/home/reclaimed2/idjc/po' Making all in c make[2]: Entering directory '/home/reclaimed2/idjc/c' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/reclaimed2/idjc/c' Making all in python make[2]: Entering directory '/home/reclaimed2/idjc/python' Making all in prelims make[3]: Entering directory '/home/reclaimed2/idjc/python/prelims' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/reclaimed2/idjc/python/prelims' Making all in testing make[3]: Entering directory '/home/reclaimed2/idjc/python/testing' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/reclaimed2/idjc/python/testing' make[3]: Entering directory '/home/reclaimed2/idjc/python' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/reclaimed2/idjc/python' make[2]: Leaving directory '/home/reclaimed2/idjc/python' Making all in artwork make[2]: Entering directory '/home/reclaimed2/idjc/artwork' Making all in lighttheme make[3]: Entering directory '/home/reclaimed2/idjc/artwork/lighttheme' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/reclaimed2/idjc/artwork/lighttheme' Making all in darktheme make[3]: Entering directory '/home/reclaimed2/idjc/artwork/darktheme' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/reclaimed2/idjc/artwork/darktheme' make[3]: Entering directory '/home/reclaimed2/idjc/artwork' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/reclaimed2/idjc/artwork' make[2]: Leaving directory '/home/reclaimed2/idjc/artwork' Making all in man make[2]: Entering directory '/home/reclaimed2/idjc/man' Making all in fr make[3]: Entering directory '/home/reclaimed2/idjc/man/fr' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/reclaimed2/idjc/man/fr' make[3]: Entering directory '/home/reclaimed2/idjc/man' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/reclaimed2/idjc/man' make[2]: Leaving directory '/home/reclaimed2/idjc/man' Making all in doc make[2]: Entering directory '/home/reclaimed2/idjc/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/reclaimed2/idjc/doc' make[2]: Entering directory '/home/reclaimed2/idjc' /bin/bash: line 1: idjc: Is a directory make[2]: *** [Makefile:1111: idjc] Error 1 make[2]: Leaving directory '/home/reclaimed2/idjc' make[1]: *** [Makefile:676: all-recursive] Error 1 make[1]: Leaving directory '/home/reclaimed2/idjc' make: *** [Makefile:481: all] Error 2

     
  • Stephen Fairchild

    Looks like you typed 'mkdir idjc' inside the source directory. Its wants to create a file called idjc but there is already a directory there with the same name.

    Here is me recreating your problem.

    stephen@tmb ~/src/idjc-code $ rm idjc
    stephen@tmb ~/src/idjc-code $ mkdir idjc   # <- Why???
    stephen@tmb ~/src/idjc-code $ make
    make  all-recursive
    make[1]: Entering directory '/home/stephen/src/idjc-code'
    Making all in po
    make[2]: Entering directory '/home/stephen/src/idjc-code/po'
    make[2]: Leaving directory '/home/stephen/src/idjc-code/po'
    Making all in c
    make[2]: Entering directory '/home/stephen/src/idjc-code/c'
    make[2]: Nothing to be done for 'all'.
    make[2]: Leaving directory '/home/stephen/src/idjc-code/c'
    Making all in python
    make[2]: Entering directory '/home/stephen/src/idjc-code/python'
    Making all in prelims
    make[3]: Entering directory '/home/stephen/src/idjc-code/python/prelims'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/python/prelims'
    Making all in testing
    make[3]: Entering directory '/home/stephen/src/idjc-code/python/testing'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/python/testing'
    make[3]: Entering directory '/home/stephen/src/idjc-code/python'
    make[3]: Nothing to be done for 'all-am'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/python'
    make[2]: Leaving directory '/home/stephen/src/idjc-code/python'
    Making all in artwork
    make[2]: Entering directory '/home/stephen/src/idjc-code/artwork'
    Making all in lighttheme
    make[3]: Entering directory '/home/stephen/src/idjc-code/artwork/lighttheme'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/artwork/lighttheme'
    Making all in darktheme
    make[3]: Entering directory '/home/stephen/src/idjc-code/artwork/darktheme'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/artwork/darktheme'
    make[3]: Entering directory '/home/stephen/src/idjc-code/artwork'
    make[3]: Nothing to be done for 'all-am'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/artwork'
    make[2]: Leaving directory '/home/stephen/src/idjc-code/artwork'
    Making all in man
    make[2]: Entering directory '/home/stephen/src/idjc-code/man'
    Making all in fr
    make[3]: Entering directory '/home/stephen/src/idjc-code/man/fr'
    make[3]: Nothing to be done for 'all'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/man/fr'
    make[3]: Entering directory '/home/stephen/src/idjc-code/man'
    make[3]: Nothing to be done for 'all-am'.
    make[3]: Leaving directory '/home/stephen/src/idjc-code/man'
    make[2]: Leaving directory '/home/stephen/src/idjc-code/man'
    Making all in doc
    make[2]: Entering directory '/home/stephen/src/idjc-code/doc'
    make[2]: Nothing to be done for 'all'.
    make[2]: Leaving directory '/home/stephen/src/idjc-code/doc'
    make[2]: Entering directory '/home/stephen/src/idjc-code'
    /bin/sh: line 1: idjc: Is a directory
    make[2]: *** [Makefile:1112: idjc] Error 1
    make[2]: Leaving directory '/home/stephen/src/idjc-code'
    make[1]: *** [Makefile:677: all-recursive] Error 1
    make[1]: Leaving directory '/home/stephen/src/idjc-code'
    make: *** [Makefile:482: all] Error 2
    stephen@tmb ~/src/idjc-code $ rmdir idjc  # <-Back to normal
    

    Note that rmdir only works if the directory is empty.

     

    Last edit: Stephen Fairchild 2023-09-24
  • Kyle Rickards

    Kyle Rickards - 2023-09-24

    Thanks Stephen, I will try again - I was just following the instructions. So when I unzip stuff, I need to be outside whatever it's unzipped?

     
    • Stephen Fairchild

      You do in Linux. In Windows if you unzip in the Desktop folder you tend to end up with an unholy mess but decently packaged zip files are perfectly possible.

      So the idjc directory inside the idjc directory contains the new version unless you wiped it already because I told you you should earlier and it is that which you wanted to build.

       
  • Kyle Rickards

    Kyle Rickards - 2023-09-24

    Out of interest, if I wanted to put my broadcast system to the stable version of IDJC, how would I do that? I did just have a go but it gave me cannot locate Python is Python3 error so I guess I am stuck on my current IDJC? I am not really happy updating my entire desktop as the current set up works.

     
    • Stephen Fairchild

      You don't need python-is-python3 since Python 2 is long gone.

      What it did was ensure that programs like Mutagen installed in Python 3 otherwise they could end up in Python 2 and 0.9 series versions of IDJC would not be able to find it. This was for back when if you typed python in a console it would bring up Python 2 despite Python 3 being out. The reason for this was to provide time for third party applications and utilities like Mutagen to port to Python 3. Much of the software took 5 years to port.

      To some degree Python 3 is a new language based off of Python 2. This large change annoyed some developers to the point that they declared that their software would never be ported. Mutagen was one of the affected projects and this was the chief reason that I didn't bother porting IDJC until it was too late.

       
  • Kyle Rickards

    Kyle Rickards - 2023-09-25

    Ah ok thank you! So on one laptop, latest version of IDJC is now running.I will try and update my main broadcast PC and report back.

     
  • Kyle Rickards

    Kyle Rickards - 2023-09-26

    Well, my own fault. Tried to put the latest standard build on my desktop. No errors surprisingly howevery IDJC refuses to load after two reboots and two reinstalls. I don't know how to put a version on that works? This is the main show PC so i am stuck as I dont broadcast from a laptop unless away

     
  • Stephen Fairchild

    There is a problem with all the 0.9 releases that surfaced recently however it is fixed in Git sources specifically:
    Fixed bug where floating point values were provided when Gtk.Align was required.
    This may be your problem since it prevents IDJC from starting but not from installing.

    I could determine if this is your issue if you were to post console output of your running of IDJC.

     
    • Kyle Rickards

      Kyle Rickards - 2023-09-26

      Hi Stephen

      Is this it?failed to import the idjc package Traceback (most recent call last): File "/usr/bin/idjc", line 31, in <module> raise e File "/usr/lib/idjc/site-packages/idjc/__init__.py", line 56 class FGlobs(metaclass=FixedAttributes): ^ SyntaxError: invalid syntax

       

      Last edit: Kyle Rickards 2023-09-26
  • Stephen Fairchild

    Not it. Looks like a big mess brought on by dumping two versions source code on each other then trying to install it.

    You could try running IDJC out of your home directory like this...

    ./configure --prefix=$HOME/.local
    make clean
    make && make install
    python idjc
    

    This will hopefully sidestep any installation damage.
    edit: Note that I did not use sudo for the install. This was not a mistake.

     

    Last edit: Stephen Fairchild 2023-09-26
  • Kyle Rickards

    Kyle Rickards - 2023-09-26

    Sorry - where am I putting that first line please? Am I opening the IDJC folder in terminal? Can I just delete everything and re-install?

     
  • Stephen Fairchild

    If you are talking about wiping and reinstalling the operating system then yes that should do the trick.

     
  • Kyle Rickards

    Kyle Rickards - 2023-09-26

    God no sorry! I meant IDJC :( How do I use the tip you suggested above please first?

     
  • Kyle Rickards

    Kyle Rickards - 2023-09-26

    Sorry to ask, where should I be looking in usr (?) to back anything up before trying to fix things? When I just updated one of these laptops everything just carried over which surprised me

    EDIT: Tried the above thing you said and got an error - so I don't know what to do know or what to delete now without losing everything. (Not the OS, I mean IDJC). Also, how do I remove the thing in HOME?

     

    Last edit: Kyle Rickards 2023-09-27
  • Stephen Fairchild

    After a night's sleep I see what the problem is now. You failed to obtain the python-is-python3 package or whatever it's exact name is so IDJC went and installed under Python2 which I am surprised is not removed from your system. Removing Python 2 could still cause harm since Linux systems relied heavily on it in the past. Perhaps Python 2 it is still on your system because it has not been updated in a long while.

    The reason IDJC can install under Python 2 is due to my removal of the version checking code due to an autoconf bug.

    The good news is there is no need to reinstall your system except for if it it is too old to host the latest version of IDJC.

    To force installation under Python 3 in the IDJC source code and from a terminal issue the following commands...
    sudo apt install autoconf libtool-bin autopoint
    sed -i 's/AM_PATH_PYTHON()/AM_PATH_PYTHON([3])/g' configure.ac
    autoreconf -ifs
    make clean
    Then do the usual build process.

    edit: The above code doesn't work in Gentoo Linux. Perhaps it works on other systems. I shall go and check.

     

    Last edit: Stephen Fairchild 2023-09-27
  • Kyle Rickards

    Kyle Rickards - 2023-09-27

    Thanks Stephen, will try now. Just before i do, my desktop is Mint 19.3 - that should be ok?

     
  • Kyle Rickards

    Kyle Rickards - 2023-09-27

    Also, actual PC physically was new to me maybe three years ago?

     
    • Stephen Fairchild

      See my edit on my last post before getting your hopes up.

      Also, a year 2019 distro is old enough for Python 2 to still be around and I guess they mistakenly obsoleted python-is-python3 due to it being unnecessary in current year releases. Perhaps this is something to report to Mint, especially if Mint 19.3 is an LTS (Long Term Support) release.

       
1 2 3 > >> (Page 1 of 3)

Log in to post a comment.