Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-446

Hard coded paths in apxs tool prevent building custom modules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • httpd 2.4.29 ER2
    • httpd 2.4.23 SP3 ER2
    • httpd
    • None
    • Compatibility/Configuration, User Experience
    • Hide

      The JBCS_HOME environment variable is set to /opt/jbcs-httpd24-2.4

      $ /opt/jbcs-httpd24-2.4/httpd/sbin/apxs -n mod_test -g
      Creating [DIR] mod_test
      Creating [FILE] mod_test/Makefile
      Creating [FILE] mod_test/modules.mk
      Creating [FILE] mod_test/mod_mod_test.c
      Creating [FILE] mod_test/.deps

      $ cd mod_test

      $ make
      Makefile:9: /libdir/httpd/build/special.mk: No such file or directory
      make: *** No rule to make target `/libdir/httpd/build/special.mk'. Stop.

      Show
      The JBCS_HOME environment variable is set to /opt/jbcs-httpd24-2.4 $ /opt/jbcs-httpd24-2.4/httpd/sbin/apxs -n mod_test -g Creating [DIR] mod_test Creating [FILE] mod_test/Makefile Creating [FILE] mod_test/modules.mk Creating [FILE] mod_test/mod_mod_test.c Creating [FILE] mod_test/.deps $ cd mod_test $ make Makefile:9: /libdir/httpd/build/special.mk: No such file or directory make: *** No rule to make target `/libdir/httpd/build/special.mk'. Stop.

      Using the JBCS zip installation to create and build a custom module results in a broken build due to hard coded paths in the apxs tool.

            huwang@redhat.com Hui Wang
            dmulford@redhat.com Dave Mulford
            Pavel Reichl Pavel Reichl
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: