Bug 16090

Summary: Error in gdb-7.6.1/gdb/data-directory/Makefile.in install-python rule
Product: gdb Reporter: gmc444
Component: pythonAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: gmc444, tromey, tromey
Priority: P2    
Version: 7.6   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description gmc444 2013-10-25 21:53:41 UTC
In this Makefile, the  $INSTALL_DATA command looks like this:
	  $(INSTALL_DATA) ./$(PYTHON_DIR)/$$file $(PYTHON_INSTALL_DIR)/$$dir ; 

This fails on the Python files to be installed with a file not found error. Correcting it to 
	  $(INSTALL_DATA) ./$(PYTHON_SRCDIR)/$$file $(PYTHON_INSTALL_DIR)/$$dir ; 

allowed the install to complete successfully. This was with a tarred version I downloaded on Oct. 23.
Comment 1 gmc444 2013-10-25 21:55:30 UTC
My build environment was Solaris 10. I was using gcc 4.8.1.
Comment 2 Tom Tromey 2013-11-14 19:20:10 UTC
I think "make all" should have copied the python files
into the relevant directory.
We stage them for install in this funny way so that
you can set gdb up to run from the build directory,
and still have it find its python code.
I don't know why this didn't work for you.
Please try "make all" first in data-directory.
Comment 3 Tom Tromey 2016-06-09 17:11:15 UTC
Several years without response.
If this is still a bug, please reopen.
I think we'll need more information in this case.