DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i ran 'make' again after 'make clean' but this time suppressed the error to a file
$ make 2> compile-error
when i search for error:
$ grep error: compile-error
Code:
star_interf.c:44: error: initializer element is not computable at load time
star_interf.c:44: error: (near initialization for ‘pretend_programfetch[4].offset’)
i managed to install gcc 4.1 but g++ 4.1 is not available on squeeze
i tried with --ignore-dependends but no luck
# dpkg -i /home/malayo/Downloads/g++-4.1_4.1.2-25_amd64.deb --ignore-depends=libstdc++6-4.1-dev,gcc-4.1,gcc-4.1-base
Code:
(Reading database ... 191833 files and directories currently installed.)
Preparing to replace g++-4.1 4.1.2-25 (using .../g++-4.1_4.1.2-25_amd64.deb) ...
Unpacking replacement g++-4.1 ...
dpkg: error processing --ignore-depends=libstdc++6-4.1-dev,gcc-4.1,gcc-4.1-base (--install):
cannot access archive: No such file or directory
dpkg: dependency problems prevent configuration of g++-4.1:
g++-4.1 depends on gcc-4.1-base (= 4.1.2-25); however:
Version of gcc-4.1-base on system is 4.1.2-29.
g++-4.1 depends on gcc-4.1 (= 4.1.2-25); however:
Version of gcc-4.1 on system is 4.1.2-29.
g++-4.1 depends on libstdc++6-4.1-dev (= 4.1.2-25); however:
Package libstdc++6-4.1-dev is not installed.
dpkg: error processing g++-4.1 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
--ignore-depends=libstdc++6-4.1-dev,gcc-4.1,gcc-4.1-base
g++-4.1
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Sorry, I didn't look for g++-4.1 ( I don't have one installed either.)
Actually, it doesn't matter, if you have g++, when all files are c.
I.e. with no c++ files, gcc will do.
'export CC=gcc-4.1 && ./configure' would be more correct.
If there really had been some c++ code, there is another solution.
Also : Dependencies cannot be ignored for a compiler :
Then it cannot produce binaries.
Sorry, I didn't look for g++-4.1 ( I don't have one installed either.)
Actually, it doesn't matter, if you have g++, when all files are c.
I.e. with no c++ files, gcc will do.
'export CC=gcc-4.1 && ./configure' would be more correct.
If there really had been some c++ code, there is another solution.
Also : Dependencies cannot be ignored for a compiler :
Then it cannot produce binaries.
..
during configurations there are a few tools that is not available in squeeze
are needed even after I installed automake
Code:
checking for working aclocal-1.4... missing
checking for working automake-1.4... missing
symlinking doesn't seem to work, i'm still having the same 'missing' message during configuration
# ln -s /usr/bin/aclocal /usr/bin/aclocal-1.4
./configure
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
.
Just ignore, the autotools are used for creating 'configure'.
Ref. post #2 : 'make' will finish with no errors.
I don't know what I had missed but it seems that I'm still getting the same error after 'rm -rf' gngoe folder, extract, ran configure & make allover again
i attach the error output as it is 2k+ lines of error messages
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.