Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoconf failure with INSTALL_LOCATION= #30

Open
mdavidsaver opened this issue Dec 2, 2016 · 3 comments
Open

autoconf failure with INSTALL_LOCATION= #30

mdavidsaver opened this issue Dec 2, 2016 · 3 comments

Comments

@mdavidsaver
Copy link
Member

Trying to configure pvaPy with INSTALL_LOCATION given

tar -xaf EPICS-CPP-4.6.0.tar.gz
cd EPICS-CPP-4.6.0/
make -j4 EPICS_BASE=/home/mdavidsaver/work/epics/base-git INSTALL_LOCATION=$PWD/root
make -j4  EPICS_BASE=/home/mdavidsaver/work/epics/base-git INSTALL_LOCATION=$PWD/root config.pvaPy
make -j4  EPICS_BASE=/home/mdavidsaver/work/epics/base-git INSTALL_LOCATION=$PWD/root pvaPy
checking for boostlib >= 1.40... yes
configure: Using boost version 105500
checking whether the Boost::Python library is available... yes
checking for exit in -lboost_python... yes
checking for Boost.NumPy library... no
checking how to run the C++ preprocessor... g++ -E
checking for EPICS base directory /home/mdavidsaver/work/epics/base-git... yes
checking for EPICS Base version >= 3.14.12... yes
checking for EPICS Base libraries for linux-x86_64... yes
checking for EPICS4 directory /home/mdavidsaver/work/epics/EPICS-CPP-4.6.0... no
configure: error: "could not find pvAccess installation: no header file /home/mdavidsaver/work/epics/base-git/include/epicsVersion.h"
Makefile:46: recipe for target 'configure' failed
make[1]: *** [configure] Error 1
make[1]: Leaving directory '/home/mdavidsaver/work/epics/EPICS-CPP-4.6.0/pvaPy'
Makefile:140: recipe for target 'pvaPy/configure/RELEASE.local' failed
make: *** [pvaPy/configure/RELEASE.local] Error 2

The epicsVersion.h header does exist at the location mentioned

$ ls /home/mdavidsaver/work/epics/base-git/include/epicsVersion.h
/home/mdavidsaver/work/epics/base-git/include/epicsVersion.h
@anjohnson
Copy link
Member

The bundleCPP Makefile wasn't intended for or tested with more complex configurations like this, so I'm not surprised it doesn't work. You may even have to configure the pvaPy module by hand — its README.md explains how to do that by hand or use its make configure target but the latter might not work with your 'install everything into a single location' configuration.

@ralphlange
Copy link
Contributor

When I was fixing a few things in pvaPy some months ago, the tests in autoconf were implemented quite sloppy, and printing misleading messages. Please confirm what the test is actually checking - obviously not the existence of that file...

@anjohnson
Copy link
Member

The epicsVersion.h was a typo in the autoconf script which has since been fixed (on the master branch). Additional discussion on other aspects of this issue is occurring in epics-rip/bundleCPP#3 and epics-rip/bundleCPP#4. I haven't checked yet whether INSTALL_LOCATION works with the pvaPy build so I'm not closing this issue yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants