FossaPup: DEVX C compiler can't create executables

For discussions about programming, and for programming questions and advice


Moderator: Forum moderators

Post Reply
davidjackson
Posts: 29
Joined: Wed Jan 18, 2023 3:52 am

FossaPup: DEVX C compiler can't create executables

Post by davidjackson »

Ok,
I was able to download and install devx.
The problem is when I try and configure for the rofi-1.7.5 I get the following errors:
( config.log is attached)
root# ../configure
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/Downloads/rofi-1.7.5/build':
configure: error: C compiler cannot create executables
See `config.log' for more details

Attachments
config.log
(10.18 KiB) Downloaded 28 times
User avatar
OscarTalks
Posts: 609
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 1 time
Been thanked: 232 times

Re: FossaPup: DEVX C compiler can't create executables

Post by OscarTalks »

Sounds like the devx is not loaded properly. You need to place the downloaded devx.sfs in a suitable location and then load it with the SFS-Load program. You don't "install" it.
Try the command which gcc in terminal. Does it return /usr/bin/gcc ?

EDIT:- Did a test build, see here:-
https://forum.puppylinux.com/viewtopic.php?t=7894

davidjackson
Posts: 29
Joined: Wed Jan 18, 2023 3:52 am

Re: FossaPup: DEVX C compiler can't create executables

Post by davidjackson »

Yes, gcc is in /usr/bin/gcc

I downloaded to devx pet package from here.
http://distro.ibiblio.org/puppylinux/pe ... s-fossa64/

Clicked on the the package and "Yes" to install.

David

technosaurus
Posts: 2
Joined: Mon Jan 09, 2023 12:14 am

Re: FossaPup: DEVX C compiler can't create executables

Post by technosaurus »

When you look at any failed operation, the primary word you should look for is "error" (secondary would be "warning"), for instance:

> /usr/lib/gcc/x86_64-linux-gnu/5/cc1: error while loading shared libraries: libisl.so.15: cannot open shared object file: No such file or directory

Did you by chance get the wrong DEVX, one that doesn't match the puppy it was built for/with?

You can try to work around this one by making a symlink for libisl.so.15 to a different version, but it may be a game of whack-a-mole.

davidjackson
Posts: 29
Joined: Wed Jan 18, 2023 3:52 am

Re: FossaPup: DEVX C compiler can't create executables

Post by davidjackson »

Thanks for your comments.
What is the correct link to download devx from?

Thanks,
David

Post Reply

Return to “Programming”