Bug 16090 - Error in gdb-7.6.1/gdb/data-directory/Makefile.in install-python rule
Summary: Error in gdb-7.6.1/gdb/data-directory/Makefile.in install-python rule
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: python (show other bugs)
Version: 7.6
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 21:53 UTC by gmc444
Modified: 2016-06-09 17:11 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.