You are not logged in.

#1 2018-05-13 17:34:17

grust
Member
Registered: 2018-05-13
Posts: 2

[SOLVED] yaourt build error when installing plymouth

Hello, when attempting to install plymouth via:

yaourt -S plymouth

I receive the following error while it is building:

checking whether we are cross compiling... configure: error: in `/tmp/yaourt-tmp-grust/aur-plymouth/src/plymouth-0.9.3':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build plymouth.

/tmp/yaourt-tmp-grust/aur-plymouth/src/plymouth-0.9.3/config.log

Any help is appreciated, thanks!


Edit: I have searched around and found people getting the same error when installing other packages, and were missing /usr/include/sys/cdefs.h
https://bbs.archlinux.org/viewtopic.php?id=197228
I am also missing cdefs.h but reinstalling glibc does not solve my issue, and cdefs.h remains missing.

Last edited by grust (2018-05-13 18:23:02)

Offline

#2 2018-05-13 18:04:22

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] yaourt build error when installing plymouth

/usr/local/include/_mingw.h:264:2: error: #error Only Win32 target is supported!
 #error Only Win32 target is supported!

Offline

#3 2018-05-13 18:19:58

grust
Member
Registered: 2018-05-13
Posts: 2

Re: [SOLVED] yaourt build error when installing plymouth

@loqs I have removed MinGW headers from /usr/local/include, and installed linux-headers, and I am no longer missing cdefs.h. I do not know which one solved my issue, but it is solved. Thank you very much.

Last edited by grust (2018-05-13 18:25:58)

Offline

Board footer

Powered by FluxBB