Error: libupstart.la must be installed in directory ending in /usr/local/lib

Asked by T. C. Gibian

Using Kubuntu with Dapper Dan with 2.6.15.26 kernel. Installing Upstart into /opt/upstart for testing purposes as specified, "make install" gets error installing libupstart.la. Error says must be installed into directory ending in "/usr/local/lib/". Is there a missing parameter in "configure"? Should libdir be changed in libupstart.la? Same problem potentially for other libraries. Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
upstart Edit question
Assignee:
No assignee Edit question
Solved by:
Scott James Remnant (Canonical)
Solved:
Last query:
Last reply:
Revision history for this message
Best Scott James Remnant (Canonical) (canonical-scott) said :
#1

How did you arrange to install Upstart into /opt? The correct way would be:

 $ make clean
 $ ./configure --prefix=/opt/upstart
 $ make
 $ make install

This should work.

It sounds like you have configured Upstart with a different prefix to what you've attempted to use for "make install"

Revision history for this message
T. C. Gibian (tcgibian) said :
#2

This worked perfectly. I hadn't used "make clean" -- perhaps that was my error. Thanks TCG