On 07/02/18 15:20, Bruce Dubbs wrote:
spiky wrote:
Hi

Just built latest lfs svn "systemd" all worked fine, moved onto BLFS X I,m getting an error at "xorg libaries"

libxshmfence 1.2. it errors with

configure: error: C compiler cannot create executables.

Looking through config log I find this.

configure:3509: checking whether the C compiler works
configure:3531: gcc $CFLAGS -D_GNU_SOURCE   conftest.c >&5
gcc: error: $CFLAGS: No such file or directory

Edit configure and have it put out $CFLAGS.  Are you setting CFLAGS?
It is hard to know without more details.

  -- Bruce

I have not added a CFLAGS this is from the install script
"

case $packagedir in
    libxshmfence* )
      ./configure $XORG_CONFIG CFLAGS='$CFLAGS -D_GNU_SOURCE' "

So i,m just using the script from blfs
http://www.linuxfromscratch.org/blfs/view/systemd/x/x7lib.html

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to