You are not logged in.
Pages: 1
I have this package in C that I want to compile so that I can get the PHP module so that I can access it from PHP. Problem is that I can't figure out how to compile it.
This is the install page for the package: http://libhdate.sourceforge.net/install.html and I have the source code ready to go, but the commands there don't work.
Hey, Kirk, you idiot--did you install a C compiler???
Yes, I also thought of that. I installed dev86 still the commands there don't work. "configure" is not found and "make" keeps saying either no targer or no rule if I do give it a target, no matter what target I give.
I am a bit lost--I don't really know anything about C ![]()
Any pointers?
Offline
It should be ./configure instead of configure (otherwise your path (see echo $PATH) is being searched for an executable configure).
I don't know what exactely dev86 is for, but you'll want gcc as C compiler.
Last edited by Ramses de Norre (2010-07-26 15:42:58)
Offline
You should check that you have the "base-devel" group of packages installed
$ pacman -S base-develThen, you should be able to type:
$ ./configure
$ makeLast edited by tom5760 (2010-07-26 16:58:14)
Offline
It should be ./configure instead of configure
That was it.
Please tell me where I can pick up my award for idiot of the day.
Thanks for your help.
I see that I have gcc already.
Only problem now is that it didn't make hdate.so the PHP module. OK, I will try to work on that part now. ![]()
Offline
Ramses de Norre wrote:It should be ./configure instead of configure
That was it.
Please tell me where I can pick up my award for idiot of the day.
Thanks for your help.
I see that I have gcc already.
Only problem now is that it didn't make hdate.so the PHP module. OK, I will try to work on that part now.
You know why configure wasn't found when you called it right?
Because it is a local script that is not in the PATH. So you have to call it like ./configure to tell the shell that you are referring to "this" location not the PATH.
Just thought I'd point that out. It's one thing to find the answer but it's better when you learn a lesson from it ![]()
![]()
Offline
Just thought I'd point that out.
It had already been pointed out.... ![]()
No harm in being thorough, I guess.
Offline
sand_man wrote:Just thought I'd point that out.
It had already been pointed out....
No harm in being thorough, I guess.
*sigh* pass the idiot award to me
![]()
Offline
Pages: 1