Convert .h.in to .h file - damn urgent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saila
    New Member
    • Dec 2009
    • 3

    Convert .h.in to .h file - damn urgent

    Hi,


    I'm a java developer & I donno any about C/C++.

    I've to generate .h file from .h.in

    Can any body help with quick response.

    Thanks
    Saila
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    What is a .h.in file?

    Comment

    • saila
      New Member
      • Dec 2009
      • 3

      #3
      Actually i'm looking for a file mod_proxy.so from apache server.
      This comes with apache server. But it was corrpted in my machine.
      So, i want to generate that file and in that context i'm getting the error as no such file found apu.h and apr.h.

      Which i came to know can be generated from the corresponding apr.h.in and apru.h.in

      Here i'm attaching the 2 files.

      I don't have idea about what is an .in file is?

      And i'm working on Linux system.
      Attached Files
      Last edited by saila; Dec 10 '09, 01:51 PM. Reason: want to add the files

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        You don't think a better and simpler method would be to just force a re-install (or un-install and re-install) apache from your package manager (synaptic for example)?

        Comment

        • Banfa
          Recognized Expert Expert
          • Feb 2006
          • 9067

          #5
          You should have called configure before trying to make, it is the configure process that converts .h.in files into .h files I believe.

          Comment

          • saila
            New Member
            • Dec 2009
            • 3

            #6
            I tried just like
            .\configure apr.h.in
            config apr.h.in

            bash: .configure: command not found

            But getting the following error.

            The issue to re-install is i'm not sure of the version of apche instlaled on the linux machine. And not sure even whether it had installed by default.
            I don't have clue about the machine i'm working on.


            Thanks a lot for your co-operation.

            Comment

            • Banfa
              Recognized Expert Expert
              • Feb 2006
              • 9067

              #7
              Information about which version is installed will be available through the package manager if it is part of the available software for the machine. We might be able to tell you more if you told us which version of linux you are using.

              You run configure like this
              ./configure

              Comment

              Working...