You are not logged in.

vdicarlo

Beginner

  • "vdicarlo" started this thread

Posts: 24

Location: Sacramento, CA

Occupation: Lawyer

  • Send private message

1

Tuesday, March 21st 2006, 8:09am

Kdevelop/QT Designer Tutorial: Build>Install Fails

I've been working my way through the tutorial at

http://women.kde.org/articles/tutorials/…troduction.html

on a Suse 10.0 installation and I've run into a snag. At

http://women.kde.org/articles/tutorials/…3/creating.html

the tutorial explains how to start a new Simple KDE app with the Application Wizard. Then it tells you to

"compile it to ensure that everything is fine. To do that, select Build -> Run automake & friends then "Build -> Run configure."

So far, so good. then

"so you can run "make" with Build -> Build Project (or using the F8 shortcut). "

So far, still so good. Then

"Then Build -> Install.

This produces the following, including the error message at the bottom:

--

cd '/home/vdicarlo/sigcreate/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k install
Making install in doc
Entering directory /home/vdicarlo/sigcreate/debug/doc
Making install in .
Entering directory /home/vdicarlo/sigcreate/debug/doc
Entering directory /home/vdicarlo/sigcreate/debug/doc
gmake[3]: Nothing to be done for `install-exec-am'.
gmake[3]: Nothing to be done for `install-data-am'.
Leaving directory /home/vdicarlo/sigcreate/debug/doc
Leaving directory /home/vdicarlo/sigcreate/debug/doc
Making install in en
Entering directory /home/vdicarlo/sigcreate/debug/doc/en
Entering directory /home/vdicarlo/sigcreate/debug/doc/en
gmake[3]: Nothing to be done for `install-exec-am'.
creating /opt/kde3/share/doc/HTML/en/sigcreate
installing /opt/kde3/share/doc/HTML/en/sigcreate/index.docbook
installing denied
Leaving directory /home/vdicarlo/sigcreate/debug/doc/en
gmake[3]: *** [install-nls] Error 1
gmake[3]: Target `install-data-am' not remade because of errors.
gmake[2]: *** [install-am] Error 2
gmake[2]: Target `install' not remade because of errors.
Leaving directory /home/vdicarlo/sigcreate/debug/doc/en
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Target `install' not remade because of errors.
Leaving directory /home/vdicarlo/sigcreate/debug/doc
Making install in po
Entering directory /home/vdicarlo/sigcreate/debug/po
Entering directory /home/vdicarlo/sigcreate/debug/po
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
Leaving directory /home/vdicarlo/sigcreate/debug/po
Leaving directory /home/vdicarlo/sigcreate/debug/po
Making install in src
Entering directory /home/vdicarlo/sigcreate/debug/src
Entering directory /home/vdicarlo/sigcreate/debug/src
test -z "/opt/kde3/bin" || mkdir -p -- "/opt/kde3/bin"
installing '/opt/kde3/bin/sigcreate'
installing denied
gmake[2]: *** [install-binPROGRAMS] Error 1
gmake[2]: Target `install-exec-am' not remade because of errors.
creating /opt/kde3/share/icons/hicolor/16x16/apps
installing /opt/kde3/share/icons/hicolor/16x16/apps/sigcreate.png
installing denied
test -z "/opt/kde3/share/applnk/Utilities" || mkdir -p -- "/opt/kde3/share/applnk/Utilities"
gmake[2]: *** [install-kde-icons] Error 1
installing '/opt/kde3/share/applnk/Utilities/sigcreate.desktop'
installing denied
gmake[2]: *** [install-shelldesktopDATA] Error 1
test -z "/opt/kde3/share/apps/sigcreate" || mkdir -p -- "/opt/kde3/share/apps/sigcreate"
installing '/opt/kde3/share/apps/sigcreate/sigcreateui.rc'
installing denied
gmake[2]: *** [install-shellrcDATA] Error 1
gmake[2]: Target `install-data-am' not remade because of errors.
Leaving directory /home/vdicarlo/sigcreate/debug/src
Leaving directory /home/vdicarlo/sigcreate/debug/src
gmake[1]: *** [install-am] Error 2
gmake[1]: Target `install' not remade because of errors.
Entering directory /home/vdicarlo/sigcreate/debug
Entering directory /home/vdicarlo/sigcreate/debug
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
Leaving directory /home/vdicarlo/sigcreate/debug
Leaving directory /home/vdicarlo/sigcreate/debug
gmake: *** [install-recursive] Error 1
gmake: Target `install' not remade because of errors.
*** Exited with status: 2 ***
--
I'm running Kdevelop 3.2.2 using KDE 3.4.2 level "b" and Qt Designer 3.3.4
Any suggestions?

What does "installing denied" in the above output mean?

Vincent

This post has been edited 1 times, last edit by "vdicarlo" (Mar 21st 2006, 8:12am)


2

Saturday, August 12th 2006, 9:15pm

RE: Kdevelop/QT Designer Tutorial: Build>Install Fails

I have exactly the same error and am unsure how to fix it.

vdicarlo

Beginner

  • "vdicarlo" started this thread

Posts: 24

Location: Sacramento, CA

Occupation: Lawyer

  • Send private message

3

Saturday, August 12th 2006, 10:56pm

I never did find a solution and gave up. Sorry.

4

Sunday, August 13th 2006, 1:32pm

Well the answer turns out to be quite simple. After futher reading of the log I noticed that it was saying installing denied. So I tried giving rights to all those directories in question using "sudo chmod -R 777 /usr/local/kde". And it worked and the problem was solved.

But I'm not entirely sure of the wiseness of giving full access rights to all those directories.

vdicarlo

Beginner

  • "vdicarlo" started this thread

Posts: 24

Location: Sacramento, CA

Occupation: Lawyer

  • Send private message

5

Sunday, August 13th 2006, 2:59pm

Thanks! Maybe I'll pick up that project again some time.

mattr

Trainee

Posts: 105

Location: US

Occupation: Software Engineer

  • Send private message

6

Tuesday, August 15th 2006, 5:03pm

if you install to /opt/kde3 or someother place where your user does not have access, you will need to install as root. There is a menu item in the build menu for this in KDevelop, if i remember correctly.
--Matt