Page 1 of 1

FossaPup: DEVX C compiler can't create executables

Posted: Mon Jan 30, 2023 4:40 am
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


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

Posted: Mon Jan 30, 2023 12:24 pm
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


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

Posted: Mon Jan 30, 2023 5:34 pm
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


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

Posted: Fri Feb 24, 2023 1:25 am
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.


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

Posted: Fri Feb 24, 2023 1:27 am
by davidjackson

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

Thanks,
David