Skip to content

Unable to build 0.18 from source #101

@prsf1233

Description

@prsf1233

I am using mod_auth_mellon in Apache on on Amazon Linux2 environment where the latest repo version is 0.14. I need 0.18 to fix the SameSite cookie issue.

I have have downloaded the source and hit two issues:

  1. Amazon Linux does not have apsx2 or apsx, I have commented this section out of configure.ac and autogen.sh completes.
  2. When I run make I get the following error:

[ec2-user@ip-10-10-1-123 mod_auth_mellon-0.18.0]$ make
Wc,"-std=c99 -DXMLSEC_CRYPTO="openssl" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=FUNCTION -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHAVE_LASSO_UTILS_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -I/usr/include/libxml2 -DXMLSEC_CRYPTO="openssl" -D__XMLSEC_FUNCTION__=FUNCTION -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2 " -Wl,"-lssl -lcrypto -llasso -lcurl -lglib-2.0 -lxml2 -lxmlsec1-openssl -lxmlsec1 -lltdl -lssl -lcrypto -lxslt -lz -ldl -lm -lxml2 " -Wc,-Wall -Wc,-g -c mod_auth_mellon.c auth_mellon_cache.c auth_mellon_config.c auth_mellon_cookie.c auth_mellon_diagnostics.c auth_mellon_handler.c auth_mellon_util.c auth_mellon_session.c auth_mellon_httpclient.c
/bin/sh: Wc,-std=c99 -DXMLSEC_CRYPTO="openssl" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=FUNCTION -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -I/usr/include/libxml2 -I/usr/include/xmlsec1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHAVE_LASSO_UTILS_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -I/usr/include/libxml2 -DXMLSEC_CRYPTO="openssl" -D__XMLSEC_FUNCTION__=FUNCTION -DXMLSEC_NO_SIZE_T -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_DL_LIBLTDL=1 -DXMLSEC_OPENSSL_100=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/include/xmlsec1 -I/usr/include/libxml2 : No such file or directory
make: [mod_auth_mellon.la] Error 127 (ignored)

I have checked all the required packages and development packages are installed. It appears to be complaining about header files but they look OK?

[ec2-user@ip-10-10-1-123 mod_auth_mellon-0.18.0]$ ls /usr/include
aio.h cursesapp.h features.h gnu-versions.h libgen.h nc_tparm.h openssl regex.h stdio.h ulimit.h
aliases.h cursesf.h fenv.h gpg-error.h libintl.h ncurses panel.h regexp.h stdlib.h unctrl.h
alloca.h curses.h fmtmsg.h grp.h libio.h ncurses_dll.h paths.h resolv.h string.h unistd.h
a.out.h cursesm.h fnmatch.h gshadow.h libxml2 ncurses.h pcrecpparg.h rpc strings.h ustat.h
argp.h cursesp.h form.h gssapi libxslt ncursesw pcrecpp.h rpcsvc sys utime.h
argz.h cursesw.h fpu_control.h gssapi.h limits.h net pcre.h sched.h syscall.h utmp.h
ar.h cursslk.h fstab.h gssrpc link.h netash pcreposix.h scsi sysexits.h utmpx.h
arpa dirent.h fts.h iconv.h linux netatalk pcre_scanner.h search.h syslog.h values.h
asm dlfcn.h ftw.h ieee754.h locale.h netax25 pcre_stringpiece.h selinux tar.h verto.h
asm-generic drm _G_config.h ifaddrs.h lzma netdb.h poll.h semaphore.h termcap.h verto-module.h
assert.h elf.h gconv.h inttypes.h lzma.h neteconet printf.h sepol term_entry.h video
bits endian.h gcrypt.h kadm5 malloc.h netinet proc_service.h setjmp.h term.h wait.h
byteswap.h envz.h gcrypt-module.h kdb.h math.h netipx profile.h sgtty.h termio.h wchar.h
com_err.h err.h GeoIPCity.h keyutils.h mcheck.h netiucv protocols shadow.h termios.h wctype.h
complex.h errno.h GeoIP.h krad.h memory.h netpacket pthread.h signal.h tgmath.h wordexp.h
cpio.h error.h GeoIPUpdate.h krb5 menu.h netrom pty.h sound thread_db.h xen
cpufreq.h et getopt.h krb5.h misc netrose pwd.h spawn.h tic.h xmlsec1
cpuidle.h eti.h gio-unix-2.0 langinfo.h mntent.h nfs python2.7 stab.h time.h zconf.h
crypt.h etip.h glib-2.0 lasso monetary.h nl_types.h python3.7m stdc-predef.h ttyent.h zlib.h
ctype.h execinfo.h glob.h lastlog.h mqueue.h nss.h rdma stdint.h uchar.h
curl fcntl.h gnu libexslt mtd obstack.h re_comp.h stdio_ext.h ucontext.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions