I had a crash on my Linux Ubuntu box when I updated from Ubuntu 22 to 24, the new version as of 08/2024.
It would not boot so I had flash the Ubuntu 24 ios file and install it on a more or less empty box. The install then went OK but I had to Mount my old drives so it would see them. I then installed berkeley db and Jason (I think). I put my old disk in the PATH statement.
Then I tried to Install GnuCOBOL 3.3 dev and Got ./configure errors on Jason and Berkeley and perhaps XML. and the Install fails and is listed below. My box is probably not right, and I am not a sys admin... I need help ! I have been working on this for a week...
I had a crash on my Linux Ubuntu box when I updated from Ubuntu 22 to
24, the new version as of 08/2024.
It would not boot so I had flash the Ubuntu 24 ios file and install it
on a more or less empty box. The install then went OK but I had to
Mount my old drives so it would see them. I then installed berkeley db
and Jason (I think). I put my old disk in the PATH statement.
Then I tried to Install GnuCOBOL 3.3 dev and Got ./configure errors on
Jason and Berkeley and perhaps XML. and the Install fails and is
listed below. My box is probably not right, and I am not a sys
admin... I need help ! I have been working on this for a week...
||
|I am guessing here but :-
The mount point used for your old drives is wrong compared to how you
had them prior to your attempted update.
By doing a fresh install most if not all of your prior set ups and
installed for the GC system is missing and has to be done again.
I would recommend re-installing ALL required libs and then the GnuCobol
compiler, then run the full set of tests using make installcheck or
make checkall (for doing every test / checks).
Only then for a successful pass on them all (subject to expected fails
etc) attempt to build any Cobol program sources.
The re-install of the Cobol system may well also mean that any other
packages that you have installed on the older system will also need
repeating - possibly before rebuilding the Cobol system such as the gcc
packages and libraries.
I think the build definitions for Ubuntu 22 still apply to Ubuntu 24.
I guess you miss the dev packages during install. Please have a look at [7c6b048b95].
If you don't have the necessary rights to install by apt you could install all of the missing dependencies "locally" in your user directly - but in this case you'd likely have specified --prefix=$HOME or similar, so that's likely not the case.
Thanks. I was looking on the board at https://sourceforge.net/projects/gnucobol/files/gnucobol/
and it says to look for DEPENDENCIES "See DEPENDENCIES for a complete list of these which may be helpful if you build GnuCOBOL from source. "
But it does not tell you where to look!
it works Now.
Thanks Simon. And Vincent (even the old compiled programs in my bin directory work without me recompiling them. )
This site is Great.
This was the saving grace, not sure were it is ,but not sure why it was so hard to find ( in the link simon gave for Ubuntu 22).
I had a crash on my Linux Ubuntu box when I updated from Ubuntu 22 to 24, the new version as of 08/2024.
It would not boot so I had flash the Ubuntu 24 ios file and install it on a more or less empty box. The install then went OK but I had to Mount my old drives so it would see them. I then installed berkeley db and Jason (I think). I put my old disk in the PATH statement.
Then I tried to Install GnuCOBOL 3.3 dev and Got ./configure errors on Jason and Berkeley and perhaps XML. and the Install fails and is listed below. My box is probably not right, and I am not a sys admin... I need help ! I have been working on this for a week...
THANKS !
On 09/09/2024 15:49, Mickey White wrote:
The mount point used for your old drives is wrong compared to how you
had them prior to your attempted update.
By doing a fresh install most if not all of your prior set ups and
installed for the GC system is missing and has to be done again.
I would recommend re-installing ALL required libs and then the GnuCobol
compiler, then run the full set of tests using make installcheck or
make checkall (for doing every test / checks).
Only then for a successful pass on them all (subject to expected fails
etc) attempt to build any Cobol program sources.
The re-install of the Cobol system may well also mean that any other
packages that you have installed on the older system will also need
repeating - possibly before rebuilding the Cobol system such as the gcc
packages and libraries.
|
I think the build definitions for Ubuntu 22 still apply to Ubuntu 24.
I guess you miss the
devpackages during install. Please have a look at [7c6b048b95].If you don't have the necessary rights to install by
aptyou could install all of the missing dependencies "locally" in your user directly - but in this case you'd likely have specified--prefix=$HOMEor similar, so that's likely not the case.Related
Discussion: 7c6b048b95
Thanks. I was looking on the board at https://sourceforge.net/projects/gnucobol/files/gnucobol/
and it says to look for DEPENDENCIES "See DEPENDENCIES for a complete list of these which may be helpful if you build GnuCOBOL from source. "
But it does not tell you where to look!
it works Now.
Thanks Simon. And Vincent (even the old compiled programs in my bin directory work without me recompiling them. )
This site is Great.
This was the saving grace, not sure were it is ,but not sure why it was so hard to find ( in the link simon gave for Ubuntu 22).
Prerequisites
$ sudo apt update # necessary
$ sudo apt upgrade # optional to get newest versions
$ sudo apt install build-essential libgmp-dev libdb-dev libncurses-dev libxml2-dev libjson-c-dev
possibly add GDB, drop xml/curses/json if not needed
THANKS !!!