logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: Apache2.2.25 compilation=File not copied into right location
Author
meet2sanjay



Joined: 30 Dec 2011
Posts: 35
Location: GURGAON, INDIA

PostPosted: Fri 23 Aug '13 14:52    Post subject: Apache2.2.25 compilation=File not copied into right location Reply with quote

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

PostPosted: Thu 29 Aug '13 7:26    Post subject: Reply with quote

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: 7288
Location: Germany, Next to Hamburg

PostPosted: Thu 29 Aug '13 16:40    Post subject: Reply with quote

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

PostPosted: Fri 30 Aug '13 6:50    Post subject: Reply with quote

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: 7288
Location: Germany, Next to Hamburg

PostPosted: Mon 02 Sep '13 10:59    Post subject: Reply with quote

I think a good starting point for a command line build is

http://www.apachelounge.com/viewtopic.php?t=5032
and
http://www.apachelounge.com/viewtopic.php?t=5002

I haven't done a command line buold in a long time.
Back to top


Reply to topic   Topic: Apache2.2.25 compilation=File not copied into right location View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads