intel / ledmon

Enclosure LED Utilities
GNU General Public License v2.0
72 stars 49 forks source link

1.0 configure fails #218

Closed chowbok closed 7 months ago

chowbok commented 8 months ago

Description

./configure fails on my system with the following errors:

checking whether C compiler accepts -fPIE... yes
./configure: line 13881: syntax error near unexpected token `-pie,'
./configure: line 13881: `AX_CHECK_LINK_FLAG(-pie, AM_LDFLAGS="$AM_LDFLAGS -pie")'

Steps to reproduce bug

./autogen.sh && ./configure

Expected behavior

Not to crash.

Actual behavior

See above

Environment

Arch Linux

Ledmon version

Attempting to build 1.0

Ledmon logs

No response

Ledctl logs

No response

Ledmon supported controllers

Can't run, won't compile.

Additional information

No response

mtkaczyk commented 7 months ago

Hello @chowbok Could you please provide automake version you are using?

We are using ubuntu in our CI and we are not experiencing configure issues, for example: https://github.com/intel/ledmon/actions/runs/8251434163

Could you please test with different automake versions?

mtkaczyk commented 7 months ago

@chowbok I would like to encourage you to create pull request with arch linux compilation. With that, we will be able to to avoid such issues.

chowbok commented 7 months ago

Hello @chowbok Could you please provide automake version you are using?

We are using ubuntu in our CI and we are not experiencing configure issues, for example: https://github.com/intel/ledmon/actions/runs/8251434163

Could you please test with different automake versions?

I am running automake 1.16.5; that's several years old, what version would you like me to try? What version are you using?

@chowbok I would like to encourage you to create pull request with arch linux compilation. With that, we will be able to to avoid such issues.

I'm not sure what you mean by this.

bkucman commented 7 months ago

Hi @chowbok You probably don't have the required package autoconf-archive installed Package docs This package contains the _AX_CHECK_LINKFLAG macro on which the reported error occurred.

If further errors occur, please make sure you have the required packages installed: Dependencies.

After installing the package, you need to execute autogen.sh again.

chowbok commented 7 months ago

Thanks! That was the issue. I've notified the Arch package maintainer.