LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   antlr/AST.hpp: No such file or directory (https://www.linuxquestions.org/questions/linux-software-2/antlr-ast-hpp-no-such-file-or-directory-683037/)

samrat_rao 11-12-2008 11:36 PM

antlr/AST.hpp: No such file or directory
 
Hi,
I am trying to compile an application on my openSUSE 11.0. After the ./configure step, make is giving these kinds of problems:

error: antlr/AST.hpp: No such file or directory
antlr/config.hpp: No such file or directory
error: antlr/TreeParser.hpp: No such file or directory

and so on. So i downloaded antlr from the openSUSE repos, but the problem persists since these files are not there anywhere, since as root i did a

find / -name AST.hpp

and so on search. Where can i find these files?

Thanks!

TB0ne 11-14-2008 08:11 AM

Quote:

Originally Posted by samrat_rao (Post 3340173)
Hi,
I am trying to compile an application on my openSUSE 11.0. After the ./configure step, make is giving these kinds of problems:

error: antlr/AST.hpp: No such file or directory
antlr/config.hpp: No such file or directory
error: antlr/TreeParser.hpp: No such file or directory

and so on. So i downloaded antlr from the openSUSE repos, but the problem persists since these files are not there anywhere, since as root i did a

find / -name AST.hpp

and so on search. Where can i find these files?

Thanks!

Well, you say you downloaded it, but did you install it? And you don't say whether or not the find you ran, actually FOUND anything. Did you install the libraries for libast, or the libast-devel?

samrat_rao 11-20-2008 12:54 AM

Quote:

Originally Posted by TB0ne (Post 3341781)
Well, you say you downloaded it, but did you install it? And you don't say whether or not the find you ran, actually FOUND anything. Did you install the libraries for libast, or the libast-devel?

Yes i installed antlr, and the find said 'no such file or directory'. But i downloaded the source code of antlr-2.7.7 and installed it, so the problem is solved.

TB0ne 11-20-2008 08:37 AM

Quote:

Originally Posted by samrat_rao (Post 3348356)
Yes i installed antlr, and the find said 'no such file or directory'. But i downloaded the source code of antlr-2.7.7 and installed it, so the problem is solved.

Yep, usually installing from source will also install the development libraries too....glad its working.


All times are GMT -5. The time now is 08:46 AM.