config_vars.mk

Report any found bug here. We are grateful for any useful clues.

Moderator: severin

Post Reply
perplexes
Posts: 1
Joined: Fri 23. Feb 2007, 07:25

config_vars.mk

Post by perplexes » Fri 23. Feb 2007, 07:30

MAMP is great. But. Since you don't compile php with openssl, I'm forced to build it myself.

Please send me the config_vars.mk that you neglected to include in the most recent version of MAMP. Building apache2 modules (which rely on apxs) is impossible without it.

Thanks in advance!

Colin

siliconchaos
Posts: 1
Joined: Wed 18. Apr 2007, 13:04

Post by siliconchaos » Wed 18. Apr 2007, 13:07

I am having the same problem with the missing config_vars.mk but while trying to build my own mod_python.

Any help will be greatly appreciated.

Regards,

Robert

halbtuerke
Posts: 2
Joined: Thu 26. Jul 2007, 14:54

Post by halbtuerke » Thu 26. Jul 2007, 14:59

I have the exact same problem, can't compile PHP without this file.
Does anyone know how to fix this?

Thanks in advance

severin
Posts: 225
Joined: Thu 8. Mar 2007, 08:03
Location: Germany

Post by severin » Fri 27. Jul 2007, 08:14

Hi,

here is the content of config_vars.mk (MAMP 1.6.1):

Code: Select all

exp_exec_prefix = /Applications/MAMP/Library
rel_exec_prefix =
exp_bindir = /Applications/MAMP/Library/bin
rel_bindir = bin
exp_sbindir = /Applications/MAMP/Library/bin
rel_sbindir = bin
exp_libdir = /Applications/MAMP/Library/lib
rel_libdir = lib
exp_libexecdir = /Applications/MAMP/Library/modules
rel_libexecdir = modules
exp_mandir = /Applications/MAMP/Library/man
rel_mandir = man
exp_sysconfdir = /Applications/MAMP/conf/apache
rel_sysconfdir = /Applications/MAMP/conf/apache
exp_datadir = /Applications/MAMP/Library
rel_datadir =
exp_installbuilddir = /Applications/MAMP/Library/build
rel_installbuilddir = build
exp_errordir = /Applications/MAMP/Library/error
rel_errordir = error
exp_iconsdir = /Applications/MAMP/Library/icons
rel_iconsdir = icons
exp_htdocsdir = /Applications/MAMP/Library/htdocs
rel_htdocsdir = htdocs
exp_manualdir = /Applications/MAMP/Library/manual
rel_manualdir = manual
exp_cgidir = /Applications/MAMP/Library/cgi-bin
rel_cgidir = cgi-bin
exp_includedir = /Applications/MAMP/Library/include
rel_includedir = include
exp_localstatedir = /Applications/MAMP/Library
rel_localstatedir =
exp_runtimedir = /Applications/MAMP/Library/logs
rel_runtimedir = logs
exp_logfiledir = /Applications/MAMP/Library/logs
rel_logfiledir = logs
exp_proxycachedir = /Applications/MAMP/Library/proxy
rel_proxycachedir = proxy
SHLTCFLAGS = -prefer-pic
LTCFLAGS = -prefer-non-pic -static
MPM_NAME = prefork
MPM_SUBDIR_NAME = prefork
htpasswd_LTFLAGS =
htdigest_LTFLAGS =
rotatelogs_LTFLAGS =
logresolve_LTFLAGS =
htdbm_LTFLAGS =
ab_LTFLAGS =
checkgid_LTFLAGS =
APACHECTL_ULIMIT = ulimit -S -n `ulimit -H -n`
progname = httpd
MPM_LIB = server/mpm/prefork/libprefork.la
OS = unix
OS_DIR = unix
BUILTIN_LIBS = modules/ssl/mod_ssl.la modules/http/mod_http.la modules/mappers/mod_so.la
SHLIBPATH_VAR = DYLD_LIBRARY_PATH
OS_SPECIFIC_VARS =
PRE_SHARED_CMDS = echo ""
POST_SHARED_CMDS = echo ""
shared_build = shared-build
AP_LIBS = /MAMP_src/httpd-2.0.59/srclib/pcre/libpcre.la /MAMP_src/httpd-2.0.59/srclib/apr-util/libaprutil-0.la /MAMP_src/httpd-2.0.59/srclib/apr-util/xml/expat/lib/libexpat.la -liconv /MAMP_src/httpd-2.0.59/srclib/apr/libapr-0.la -lresolv -lpthread
AP_BUILD_SRCLIB_DIRS = apr apr-util
AP_CLEAN_SRCLIB_DIRS = apr-util apr
abs_srcdir = /MAMP_src/httpd-2.0.59
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/bin
cgidir = ${datadir}/cgi-bin
logfiledir = ${localstatedir}/logs
exec_prefix = ${prefix}
datadir = ${prefix}
localstatedir = ${prefix}
mandir = ${prefix}/man
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/modules
htdocsdir = ${datadir}/htdocs
manualdir = ${datadir}/manual
includedir = ${prefix}/include
errordir = ${datadir}/error
iconsdir = ${datadir}/icons
sysconfdir = /Applications/MAMP/conf/apache
installbuilddir = ${datadir}/build
runtimedir = ${localstatedir}/logs
proxycachedir = ${localstatedir}/proxy
other_targets =
progname = httpd
prefix = /Applications/MAMP/Library
AWK = awk
CC = gcc
CPP = gcc -E
CXX =
CPPFLAGS =
CFLAGS =
CXXFLAGS =
LTFLAGS = --silent
LDFLAGS =
LT_LDFLAGS = -export-dynamic
SH_LDFLAGS =
HTTPD_LDFLAGS =
UTIL_LDFLAGS =
LIBS =
DEFS =
INCLUDES =
NOTEST_CPPFLAGS = -DAP_HAVE_DESIGNATED_INITIALIZER
NOTEST_CFLAGS =
NOTEST_CXXFLAGS =
NOTEST_LDFLAGS =
NOTEST_LIBS =
EXTRA_CPPFLAGS = -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
EXTRA_CFLAGS = -g -O2
EXTRA_CXXFLAGS =
EXTRA_LDFLAGS = -L/MAMP_src/httpd-2.0.59/srclib/apr-util/xml/expat/lib
EXTRA_LIBS = -lz -lssl -lcrypto
EXTRA_INCLUDES = -I/MAMP_src/httpd-2.0.59/srclib/apr/include -I/MAMP_src/httpd-2.0.59/srclib/apr-util/include -I/MAMP_src/httpd-2.0.59/srclib/apr-util/xml/expat/lib -I. -I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/server/mpm/$(MPM_SUBDIR_NAME) -I$(top_srcdir)/modules/http -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/include -I$(top_srcdir)/modules/generators -I/usr/include/openssl -I$(top_srcdir)/modules/dav/main
LIBTOOL = /MAMP_src/httpd-2.0.59/srclib/apr/libtool $(LTFLAGS)
SHELL = /bin/sh
MODULE_DIRS = aaa cache echo experimental filters loggers metadata proxy ssl test http dav/main generators dav/fs mappers
MODULE_CLEANDIRS = arch/win32
PORT = 80
nonssl_listen_stmt_1 =
nonssl_listen_stmt_2 = Listen @@Port@@
CORE_IMPLIB_FILE =
CORE_IMPLIB =
SH_LIBS =
SH_LIBTOOL = $(LIBTOOL)
MK_IMPLIB =
INSTALL_PROG_FLAGS =
DSO_MODULES = access auth auth_anon auth_dbm auth_digest file_cache echo charset_lite cache disk_cache mem_cache example case_filter case_filter_in ext_filter include deflate log_config env mime_magic cern_meta expires headers usertrack unique_id setenvif proxy proxy_connect proxy_ftp proxy_http bucketeer mime dav status autoindex asis info cgi cgid dav_fs vhost_alias negotiation dir imap actions speling userdir alias rewrite
APR_BINDIR = /Applications/MAMP/Library/bin
APR_INCLUDEDIR = /MAMP_src/httpd-2.0.59/srclib/apr/include
APU_BINDIR = /Applications/MAMP/Library/bin
APU_INCLUDEDIR = /MAMP_src/httpd-2.0.59/srclib/apr-util/include
I hope it will be of some help.

Thanks,

Severin Kurpiers
living-e AG

halbtuerke
Posts: 2
Joined: Thu 26. Jul 2007, 14:54

Post by halbtuerke » Fri 27. Jul 2007, 08:47

Thank you very much.

joshuajonah
Posts: 3
Joined: Wed 18. Jun 2008, 00:56

Re: config_vars.mk

Post by joshuajonah » Wed 18. Jun 2008, 01:03

I resolved this by installing another copy of the same version of Apache in another folder, then moving the compiled "build" folder into the "MAMP/library/" folder ;)

activelyOUT
Posts: 1
Joined: Fri 24. Jul 2009, 20:44

Re: config_vars.mk

Post by activelyOUT » Thu 30. Jul 2009, 06:38

can you share detailed instructions on how to recompile imap with ssl enabled.

I am an admin noob but really need this to work for my app to function.

Thanks,
Chris

endoftime31
Posts: 1
Joined: Wed 17. Feb 2010, 08:47

Re: config_vars.mk

Post by endoftime31 » Wed 17. Feb 2010, 08:55

I also have the same problem here

can't compile PHP without this file.
Does anyone know how to fix this?

any help will be appreciated..

thanks in advance!! :mrgreen: :mrgreen: :mrgreen: master resell rights

benholk
Posts: 2
Joined: Mon 24. Jan 2011, 08:57

Re: config_vars.mk

Post by benholk » Mon 24. Jan 2011, 09:01

Well, personally I have found MAMP to be very useful in many regards. The only thing that I would like to see them do again is to integrate the config_vars.mk that they have neglected in the recent versions of MAMP. I have found that I could not build Apache 2 modules without the config_vars.mk since the Apache 2 modules rely on APXS. PHP compiling is also yet another problem as they have excluded the config_vars.mk!
__________________________
cyberdefender

daavidfischer
Posts: 11
Joined: Wed 21. Nov 2012, 08:40

Re: config_vars.mk

Post by daavidfischer » Mon 26. Nov 2012, 07:50

I am having the same issue. I am unable to compile PHP without this file. Can you please mention how to include the contents of config_vars.mk into my file? I am a novice user so I am not able to do this myself easily.



__________
David Fischer
uscardonation.com

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests