LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-25-2020, 12:20 AM   #1
chinnadas
Member
 
Registered: Feb 2020
Posts: 55

Rep: Reputation: Disabled
lightdm-1.30.0 make fail


Hi,

when build lightdm-1.30.0 getting below error.



config.status: executing libtool commands
config.status: executing po/stamp-it commands

Light Display Manager 1.30.0
===========================

prefix: /usr
Greeter session: lightdm-gtk-greeter
Greeter user: lightdm
User session: default
GObject introspection: yes
Vala bindings: yes
liblightdm-qt: no
liblightdm-qt5: yes
libaudit support: no
Enable tests: no

make all-recursive
make[1]: Entering directory '/sources/BLFS/lightdm-1.30.0'
Making all in common
make[2]: Entering directory '/sources/BLFS/lightdm-1.30.0/common'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/BLFS/lightdm-1.30.0/common'
Making all in liblightdm-gobject
make[2]: Entering directory '/sources/BLFS/lightdm-1.30.0/liblightdm-gobject'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/BLFS/lightdm-1.30.0/liblightdm-gobject'
Making all in liblightdm-qt
make[2]: Entering directory '/sources/BLFS/lightdm-1.30.0/liblightdm-qt'
make all-am
make[3]: Entering directory '/sources/BLFS/lightdm-1.30.0/liblightdm-qt'
CXX liblightdm_qt5_3_la-greeter.lo
In file included from /usr/include/c++/9.2.0/bits/stl_algo.h:59,
from /usr/include/c++/9.2.0/algorithm:62,
from /opt/qt5/include/QtCore/qglobal.h:142,
from /opt/qt5/include/QtCore/qnamespace.h:43,
from /opt/qt5/include/QtCore/qobjectdefs.h:48,
from /opt/qt5/include/QtCore/qobject.h:46,
from /opt/qt5/include/QtCore/QObject:1,
from QLightDM/greeter.h:15,
from greeter.cpp:13:
/usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
| ^~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:712: liblightdm_qt5_3_la-greeter.lo] Error 1
make[3]: Leaving directory '/sources/BLFS/lightdm-1.30.0/liblightdm-qt'
make[2]: *** [Makefile:562: all] Error 2
make[2]: Leaving directory '/sources/BLFS/lightdm-1.30.0/liblightdm-qt'
make[1]: *** [Makefile:484: all-recursive] Error 1
make[1]: Leaving directory '/sources/BLFS/lightdm-1.30.0'
make: *** [Makefile:416: all] Error 2
 
Old 04-25-2020, 06:58 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
Code:
/usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
Fix that, then see where it pukes.
 
Old 04-25-2020, 08:08 AM   #3
chinnadas
Member
 
Registered: Feb 2020
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Code:
/usr/include/c++/9.2.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
75 | #include_next <stdlib.h>
Fix that, then see where it pukes.
Hi,
Iam not a senior developer can we please elaborate
 
Old 04-25-2020, 10:07 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
What is in /usr/include/c++

Last edited by colorpurple21859; 04-25-2020 at 10:09 AM.
 
Old 04-25-2020, 10:15 AM   #5
chinnadas
Member
 
Registered: Feb 2020
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
What is in /usr/include/c++
libstd c++

Last edited by chinnadas; 04-25-2020 at 10:29 AM.
 
Old 04-25-2020, 12:09 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
Quote:
Originally Posted by chinnadas View Post
Hi,
Iam not a senior developer can we please elaborate
Neither am I.
It's looking for the named header file /usr/include/c++/9.2.0/cstdlib.h, and can't find it. From my box (on gcc-9.3.0)

Quote:
ls -lh /usr/include/c++/9.3.0/stdlib.h
-rw-r--r-- 1 root root 2.2K Mar 14 00:38 /usr/include/c++/9.3.0/stdlib.h
That one, I would think.
 
Old 04-25-2020, 02:47 PM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,863

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
I have stdlib.h both in /usr/include and /usr/include/c++/9.3.0. If not found the compiler (g++ and/or gcc) was not installed properly (or corrupted). I would try to reinstall.
 
Old 04-26-2020, 04:19 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
Go back to post #1, and look at your tailspin above the words 'Compilation Terminated'
I haven't seen your new error, but let's presume it's identical - cstdlib.h on line 75 including stdlib.h

On my system, I don't have a cstdlib.h in that spot, but I do have stdlib.h. I presume they've rejigged the includes between releases. Just running file on it I get this:
Code:
file stdlib.h
stdlib.h: C++ source, ASCII text
That doesn't protect you from copying in some one of the many stdlib.h files on a normal system. If the file is in place, it's an inconvenience. We're just telling you, it's your compiler you have to argue with, not us.
 
Old 04-26-2020, 06:39 AM   #9
rus26
LQ Newbie
 
Registered: Apr 2020
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Go back to post #1, and look at your tailspin above the words 'Compilation Terminated'
I haven't seen your new error, but let's presume it's identical - cstdlib.h on line 75 including stdlib.h

On my system, I don't have a cstdlib.h in that spot, but I do have stdlib.h. I presume they've rejigged the includes between releases. Just running file on it I get this:
Code:
file stdlib.h
stdlib.h: C++ source, ASCII text
That doesn't protect you from copying in some one of the many stdlib.h files on a normal system. If the file is in place, it's an inconvenience. We're just telling you, it's your compiler you have to argue with, not us.

I think it can be solved without problems using the manual
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] lightdm-session error message after removal of lightdm rng Linux - General 3 08-28-2017 02:48 PM
[SOLVED] if [[ -n "$1" ]]; then FAIL FAIL FAIL rbees Programming 7 03-25-2015 02:39 PM
LXer: Simple LightDM Manager: Change The LightDM Background Or Logo Using A GUI LXer Syndicated Linux News 0 10-05-2011 05:41 PM
LXer: Ubuntu 11.10 Latest Updates Revealed The New LightDM Login Theme | Video Preview LXer Syndicated Linux News 0 08-12-2011 12:21 AM
LXer: LightDM Display Manager In Ubuntu 11.10 Oneiric Ocelot | Screenshots | Video Preview LXer Syndicated Linux News 0 07-13-2011 11:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration