Author |
|
meet2sanjay
Joined: 30 Dec 2011 Posts: 35 Location: GURGAON, INDIA
|
Posted: Fri 23 Aug '13 14:52 Post subject: Apache2.2.25 compilation=File not copied into right location |
|
|
Hello,
I building Apache 2.2.25 version in VS2008. Its compiled successfully. Only problem is its not copying the file into right location for a particular folder:-
According to directory structure:-
Apache22\Bin\iconv
in this folder there should be lots of file but this blank
Instead of this place it creates on following location
http2.2.25\srclib\Apach22\bin\iconv
This folder contains all files
I tried lots of thing even change the makefile.win file. But problem is not solved.
Please help me to come out from this problem.
Thanks & Regards,
Sanjay Kumar |
|
Back to top |
|
meet2sanjay
Joined: 30 Dec 2011 Posts: 35 Location: GURGAON, INDIA
|
Posted: Thu 29 Aug '13 7:26 Post subject: |
|
|
Nobody reply...
But atlast i resolved the issue myself.
if anybody have any idea how to compile apche with ant compiler in vs2008. Then please let me know. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 29 Aug '13 16:40 Post subject: |
|
|
meet2sanjay wrote: | Nobody reply...
But atlast i resolved the issue myself.
|
How did you solve it?
Quote: |
if anybody have any idea how to compile apche with ant compiler in vs2008. Then please let me know. |
You mean apache ant? |
|
Back to top |
|
meet2sanjay
Joined: 30 Dec 2011 Posts: 35 Location: GURGAON, INDIA
|
Posted: Fri 30 Aug '13 6:50 Post subject: |
|
|
Hello James,
In makefile.win
**************************************************
1. cd srclib\apr-iconv
2. $(MAKE) $(MAKEOPT) -f 3. 3. build\modules.mk.win install \
4. BUILD_MODE=$(LONG) BIND_MODE=shared API_SOURCE=. \
5. INSTALL_DIR="..\$(INSTDIR)\bin\iconv"
***************************************************
Suppose $(INSTDIR)=D:\Apache22
And Apache.sln and makefile.win project residing in D:\ApacheHTTP
When execution reach the point 1.
It enter in the directory srclib\apr-iconv
Because this currently in path D:\ApacheHTTP\srclib\apr-iconv
When execution reach the point 5 it is still in the same directory and it cannot find the Apache22 directory so it create the following path
D:\ApacheHTTP\srclib\bin\iconv
and copy the file in this path later.
When i make the following change at point 5
INSTALL_DIR="..\..\$(INSTDIR)
It solve my issue.
===================================================
Ant:
Yes James i am talking about Apache Ant to compile the apache through ant in VS2008.
In this part also i got success. Now i can compile it successfully.
But the only problem is:
When in build InstallBin.vcproj with VS2008 GUI it build 94 project successfully.
But when i build it through ant it build 104 project with the message
"Project not selected to build for this solution configuration"
If you can provide some help it would be highly appericated. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|