LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compile Error - Missing header file (https://www.linuxquestions.org/questions/slackware-14/compile-error-missing-header-file-4175413695/)

Aizenmyou 06-27-2012 12:15 PM

Compile Error - Missing header file
 
Trying to compile elsa (E17) in slackware 13.17 but it errors stating it's missing Eina.h

I've checked and the MakeFile lists the path to Eina.h which I have -I/usr/local/include/eina-1/Eina.h

I dont understand why its complaining I am missing a file that I most certainly have. (I ran autogen.sh)

sycamorex 06-27-2012 12:20 PM

Have a look at this website:
http://slacke17.sourceforge.net/

audriusk 06-27-2012 01:18 PM

Or this: http://slackbuilds.org/repository/13...enlightenment/

You'll be grateful when the time comes to upgrade. :)

elvis4526 06-27-2012 02:51 PM

Maybe you needed to compile eina before.

Aizenmyou 06-29-2012 09:47 AM

Quote:

Originally Posted by elvis4526 (Post 4713566)
Maybe you needed to compile eina before.


eina is already compiled. its just not looking in the path listed in MakeFile.
I have to basically add each damn path to the C_INCLUDE_PATH env var which is retarded.

guanx 06-29-2012 12:14 PM

Quote:

Originally Posted by Aizenmyou (Post 4713458)
Trying to compile elsa (E17) in slackware 13.17 but it errors stating it's missing Eina.h

I've checked and the MakeFile lists the path to Eina.h which I have -I/usr/local/include/eina-1/Eina.h

I dont understand why its complaining I am missing a file that I most certainly have. (I ran autogen.sh)

man gcc says:
Code:

gcc [-Idir...]

-I dir
    Add the directory dir to the list of directories to be searched for header files.

It probably should be either "-I/usr/local/include/eina-1" or "-I/usr/local/include", depending on how the #include directive is written in your source file; but definitely not be "-I/usr/local/include/eina-1/Eina.h".

Aizenmyou 06-29-2012 12:49 PM

Quote:

Originally Posted by guanx (Post 4715133)
man gcc says:
Code:

gcc [-Idir...]

-I dir
    Add the directory dir to the list of directories to be searched for header files.

It probably should be either "-I/usr/local/include/eina-1" or "-I/usr/local/include", depending on how the #include directive is written in your source file; but definitely not be "-I/usr/local/include/eina-1/Eina.h".

That's exactly how it is. (-I/usr/local/include/eina-1)
Reason why I'm irritated. lol


All times are GMT -5. The time now is 03:12 PM.