Build the apache binary centrally.


 
Thread Tools Search this Thread
Operating Systems Solaris Build the apache binary centrally.
# 8  
Old 10-04-2012
Quote:
Originally Posted by Corona688
Hmmm, that's going to be a problem -- your symbolic links are all wrong...
All lib files under /usr/local/apache2/lib have been modified as part of installtion but other files beyond /usr/local/apache2 have not been updated when i installed apache, which is correct. Generally apache installation wont mess up all files which were outside /usr/local/apache.

Btw here none of the symbolic links were wrong because apache is working good on the machine i installed and the apache process started without any errors.
# 9  
Old 10-04-2012
Oh, well, if you actually intend to run it from /usr/local/apache2, then they're fine.
# 10  
Old 10-04-2012
Quote:
Originally Posted by Corona688
Hmmm, that's going to be a problem -- your symbolic links are all wrong...
If you mean output of the "ldd" command - those are not symbolic links :P
# 11  
Old 10-04-2012
Can someone guide me how to just identify the binary and lib files in a tar file, so then i would not run configure, make and make install on other machines or should i tar up entire directory (i.e) /usr/local/apache?
# 12  
Old 10-04-2012
If I were you I would first try to copy just "/usr/local/apache2" to the other server and see if it starts properly. If it won't, then it will probably complain about some missing libraries. Those can't (or shouldn't) be simply copied between servers. If there will be some library issues, you will have to install missing packages there.
# 13  
Old 10-04-2012
When an application like apache keeps things it its own little subtree, which is a best practice that makes for easy upgrade, as opposed to copying to /usr/local/lib and bin or worse to /usr/lib and bin or /lib and /bin, mixed with the OS tools, you need to have $PATH and $LD_LIBRARY_PATH (or whatever environment variable ld() on your O/S likes) extended to find the subtree apps and libs, respectively. I like keeping things separated, O/S, apps, bought, built, written and if possible configuration varied files all in separate direcories or subtrees. Then, you can change a package without touching the config. Vendors supporting their product do not have other people's files under foot. Custom code is not masquerading as stock.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

(VS 2008) New build config looking files from other folder build config

Hi Team, My new build configuration always looking for the files from the build where i copied from. please help me to resolve this. I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies

2. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies

3. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies

4. Shell Programming and Scripting

Build.xml invocation by Build Script

Hi I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this? (1 Reply)
Discussion started by: ankur328
1 Replies

5. Shell Programming and Scripting

Convert binary file to csv and then back to the binary format

Hello *nix specialists, Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies

6. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies

7. Web Development

not able to build mod_auth_mysql.c on solaris10 sparc with apache 1.3.34 and mysql 5.1.50

Hello , I have s Solaris 10 10/09 s10x_u8wos_08a X86 OS. I installed Apache 1.3.34 and MYSQL 5.1.50. while executing the following command to compile the mod_auth_mysql.c module sudo ./apxs -c -L/d00/tbls/mysql/lib -I/d00/tbls/mysql/include -lmysqlclient -lm -lz mod_auth_mysql.c. result of it... (2 Replies)
Discussion started by: cnighojkar
2 Replies

8. Emergency UNIX and Linux Support

Which OS Binary was build

We have recently installed RHEL 5.4 on some existing 6.2 OS and migrated our code from RH 6.2 to RHEL 5.4. We are facing a difficulty that given a binary (on both OS they have same name) how can we distinguish that which gcc and OS it was build as there are some minor differences in between binary... (2 Replies)
Discussion started by: uunniixx
2 Replies

9. UNIX for Advanced & Expert Users

Apache Continuum remote build howto

Hi, We have few different OS/Platforms that we are using to build our products, such as: AIX 5.2, Solaris 8,9,10, Linux (RedHat, Suse, Slackware), Windows 2003 Server. We are using Apache Continuum Apache Maven Continuum - Welcome to Continuum to automate the build process for each Platform.... (0 Replies)
Discussion started by: +Yan
0 Replies

10. Solaris

solaris 10 apache 2.2.4 64 bit build error

I am trying to build 64 bit apache 2.2.4 on a Sun server. I have built many applications so far. This is my configure line CC='gcc -m64 -mcpu=v9 -O3' ./configure --disable-ipv6 --enable-info --enable-status --enable-ssl --with-ssl=/usr/local/ssl --disable-negotiation --disable-userdir ... (2 Replies)
Discussion started by: csross
2 Replies
Login or Register to Ask a Question