LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2012, 09:45 AM   #1
Aizenmyou
LQ Newbie
 
Registered: Jun 2009
Location: Houston
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Question Compiling getting no such file


This happens on some programs not all. I run configure and it says it finds the libs during the check, but when I make it complains Whatever.h: No such file or directory.

I check and the header file is in /usr/local/include just like the MakeFile defines. (example: -I/usr/local/include/edje-1)

This is annoying.
 
Old 06-29-2012, 09:47 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
what application is it?
 
Old 06-29-2012, 09:57 AM   #3
Aizenmyou
LQ Newbie
 
Registered: Jun 2009
Location: Houston
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by willysr View Post
what application is it?
emotion
 
Old 06-29-2012, 12:06 PM   #4
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by Aizenmyou View Post
This happens on some programs not all. I run configure and it says it finds the libs during the check, but when I make it complains Whatever.h: No such file or directory.

I check and the header file is in /usr/local/include just like the MakeFile defines. (example: -I/usr/local/include/edje-1)

This is annoying.
I just checked my system. I have no "Whatever.h", either.
Probably your software will not run on slackware.
 
Old 06-29-2012, 12:29 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
May be "pkgconfig" will override the other settings,
and only search for files in /usr/include/

Usual approach to compile edje etc. when the other files are in /usr/local/ ,
... something like ...
export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/ && ./configure
( Or './configure PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/' )

.
 
Old 06-29-2012, 12:50 PM   #6
Aizenmyou
LQ Newbie
 
Registered: Jun 2009
Location: Houston
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by guanx View Post
I just checked my system. I have no "Whatever.h", either.
Probably your software will not run on slackware.
LOL... Whatever.h is not the file name. I said whatever because it's whatever header file its looking for.
 
Old 06-30-2012, 06:13 PM   #7
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,176

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by Aizenmyou View Post
LOL... Whatever.h is not the file name. I said whatever because it's whatever header file its looking for.
You are so wise that you know which part of an error message is unimportant and can be altered.

But why do you ask a question when you are so wise?
 
2 members found this post helpful.
Old 07-01-2012, 02:45 AM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Welcome to dependency hell!

For starters, you need to research what dependencies are REQUIRED for "emotion" to build, install, and work with before you attempt to compile it.

Emotion depends on the following packages at MINIMUM:

edje
eeze
gstreamer-0.10

All these packages also have required dependencies which you will need to research, build, and install onto your system prior to attempting installation.

Some of these packages can be found on the community supported website called http://www.slackbuilds.org which has source packages and build scripts you can use to add packages to the system.

This page is from ArchLinux, but it will show you which dependency packages are needed for Slackware for Emotion to build and install against.

http://www.archlinux.org/packages/co...4/emotion-svn/

BTW... I'm not getting onto you about this, but next time you need to research a topic called "Dependency Resolution in Slackware Linux" before posting about missing files and such. Slackware does NOT offer automatic dependency resolution. The user/administrator of the system has to resolve dependencies manually.

If you want automatic dependency resolution, you should look into another Linux distribution like Debian or Fedora.

Last edited by ReaperX7; 07-01-2012 at 02:48 AM.
 
Old 07-01-2012, 06:16 AM   #9
Alkin
LQ Newbie
 
Registered: Sep 2006
Location: Bulgaria
Distribution: Slackware
Posts: 24

Rep: Reputation: 2
Obviously the header file cannot be found during the compilation.
It might be that it is present in your system i.e.
the 'dependency' is met, but the path given to compiler is wrong.
In such a scenario you will need to tell the compiler where the
header file actually is.

There are many knowledgeable people around who may help you.
Guanx's point was that, unless you provide the name of
the header file they cannot do much. If you try to be more
verbose, your chances of getting an appropriate answer will
increase significantly.

Last edited by Alkin; 07-01-2012 at 06:30 AM.
 
Old 07-01-2012, 04:00 PM   #10
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Are you using the SVN build of edje or a stable-version package?
 
Old 07-01-2012, 04:16 PM   #11
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Aizenmyou View Post
LOL... Whatever.h is not the file name. I said whatever because it's whatever header file its looking for.
Perhaps the name of the file is mentioned in the error message because it is important to know.

You know, given that human engineers wrote the code to emit the error message.
 
  


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] compiling make file ghantauke Linux - Newbie 3 03-09-2011 08:44 AM
problem compiling a file Wfs123 Ubuntu 4 01-22-2011 06:05 PM
need help compiling file Wfs123 Linux - Software 3 01-12-2011 03:57 PM
Compiling an .so file the_transltr Programming 3 09-24-2008 07:36 PM
can some help with compiling .c file rameshks Linux - Networking 1 05-15-2001 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:00 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