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

Asked by T. C. Gibian on 2007-04-08

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:
2007-04-09
Last query:
2007-04-09
Last reply:
2007-04-09

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"

T. C. Gibian (tcgibian) said : #2

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