You are not logged in.

#1 2014-01-05 14:26:05

kamrava
Member
Registered: 2013-12-08
Posts: 75

[Solved] make: *** No rule to make target 'install'

I'm trying to install MySQL-Workbench from source (tar.gz file).

I'm following official installation guide.

I've tried below command :

make -j3 install

But gets me this error:

make: *** No rule to make target 'install'.  Stop.

Any ideas would be awesome.

Last edited by kamrava (2014-01-06 17:55:10)

Offline

#2 2014-01-05 14:33:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [Solved] make: *** No rule to make target 'install'

Did your configure command exit cleanly?

Offline

#3 2014-01-05 14:33:36

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved] make: *** No rule to make target 'install'

mysql-workbench 6.0.8-2 is in the AUR

https://aur.archlinux.org/packages/mysql-workbench/

Offline

#4 2014-01-05 14:41:14

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: [Solved] make: *** No rule to make target 'install'

2ManyDogs wrote:

mysql-workbench 6.0.8-2 is in the AUR

https://aur.archlinux.org/packages/mysql-workbench/

I don't know why but I can't install it from AUR. It gets me some errors. I forced to install it from source!

Did your configure command exit cleanly?

Please explain more I'm newbie.
What is your mean about "command exit" ?

I'm following this guide :

Buiding on Linux
----------------

To Build:
- Extract the sources into a directory, e.g. wb6
- Install dependencies. For Ubuntu and other Debian based distros type this in a
  command line terminal:
  $> sudo apt-get install build-essential cmake autoconf automake pkg-config libtool libzip-dev libxml2-dev libsigc++-2.0-dev libglade2-dev libgtkmm-2.4-dev libglu1-mesa-dev libgl1-mesa-glx mesa-common-dev libmysqlclient-dev libmysqlcppconn-dev uuid-dev liblua5.1-dev libpixman-1-dev libpcre3-dev libgnome2-dev libgnome-keyring-dev libgtk2.0-dev libpango1.0-dev libcairo2-dev python-dev libboost-dev libctemplate0 libctemplate-dev mysql-client python-pysqlite2 libsqlite3-dev iodbc libiodbc2 libiodbc2-dev libtinyxml-dev
- You will also need to install VSQLite++ from https://github.com/vinzenz/vsqlite--. Check the INSTALL file there for installation instructions.
- Create a build directory (better if you create it outside the Workbench source tree), e.g. wb-build
- Change the directory to the build directory you have just created, e.g. cd ../wb-build
- Run cmake <path to workbench tree> -DCMAKE_INSTALL_PREFIX=<path where you want WB to be> -DCMAKE_BUILD_TYPE=Release
- Run make -j3 install

For complete and up-to-date instructions, visit http://wb.mysql.com/?page_id=152

Note about antlr:
- Antlr 3.4 is needed, but the current release has many bugs. You will need it patched with https://github.com/antlr/antlr3/pull/43 if you don't want to use the bundled version.

Offline

#5 2014-01-05 14:44:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,465
Website

Re: [Solved] make: *** No rule to make target 'install'

And what commands did you actually run?  Because those would not be expected to work in arch linux.

Really though, you should use the aur package.  If it failed, report those errors and we can help with that.  You are not forced to install it manually - you are forced to do some learning, and this is true whether you try to install it manually or use the aur package.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2014-01-05 14:56:59

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: [Solved] make: *** No rule to make target 'install'

And what commands did you actually run?  Because those would not be expected to work in arch linux.

I did :

cmake ~/mysql-workbench-src -DCMAKE_INSTALL_PREFIX=~/mysql-workbench -DCMAKE_BUILD_TYPE=Release

and then :

make -j3 install

Really though, you should use the aur package.  If it failed, report those errors and we can help with that.  You are not forced to install it manually - you are forced to do some learning, and this is true whether you try to install it manually or use the aur package.

Firstly, I have no any problems with installing other packages from AUR. But when I installing mysql-workbench it won't install and get me some errors.
The output of 'yaourt -S mysql-workbench' is in here :
http://en.textsave.org/HxN

Offline

#7 2014-01-05 15:07:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,465
Website

Re: [Solved] make: *** No rule to make target 'install'

That error was in building one of the dependencies, not in building mysql-workbench.  You'll still need the dependencies to build it manually.

Allan's question was essentially whether the cmake command completed without errors.  As you do not have the needed dependencies it likely did not.

Also, if you are not experienced with building packages from the AUR, you really shouldn't be using yaourt. (Ironically when you are experienced, you probably wont want to).  If you were using makepkg you likely would have more clearly seen that the problem was in building ctemplate.  You could have then come to the forums with that information and we could get to the point much faster.

FWIW, ctemplate passes the validity check just fine here, and (so far) is building without error.  Try building ctemplate with makepkg - ensure you have the base and base-devel groups installed first.

Last edited by Trilby (2014-01-05 15:13:02)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2014-01-05 15:12:50

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [Solved] make: *** No rule to make target 'install'

There is also 'mysql-workbench-gpl' in the AUR which is derived from the ubuntu binary and is (currently) working as advertised wink

Offline

#9 2014-01-05 15:14:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,465
Website

Re: [Solved] make: *** No rule to make target 'install'

stanselbow, that won't help - it still depends on ctemplate.  So far there has been no error with the package the OP is trying to install, only with building the ctemplate dependency.

Follow up: ctemplate just completed building successfully here.

Last edited by Trilby (2014-01-05 15:15:11)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2014-01-05 15:30:31

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [Solved] make: *** No rule to make target 'install'

==> Finished making: ctemplate 2.2-1 (Sun Jan  5 17:26:41 EET 2014)

by yaourt.

I left it running (other dependencies and mysql-workbench itself) to see how it ends.

Update:

==> Finished making: mysql-workbench 6.0.8-2 (Sun Jan  5 18:50:49 EET 2014)

Last edited by GE (2014-01-05 17:16:25)


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#11 2014-01-05 16:55:23

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: [Solved] make: *** No rule to make target 'install'

Trilby wrote:

That error was in building one of the dependencies, not in building mysql-workbench.  You'll still need the dependencies to build it manually.

Allan's question was essentially whether the cmake command completed without errors.  As you do not have the needed dependencies it likely did not.

Also, if you are not experienced with building packages from the AUR, you really shouldn't be using yaourt. (Ironically when you are experienced, you probably wont want to).  If you were using makepkg you likely would have more clearly seen that the problem was in building ctemplate.  You could have then come to the forums with that information and we could get to the point much faster.

FWIW, ctemplate passes the validity check just fine here, and (so far) is building without error.  Try building ctemplate with makepkg - ensure you have the base and base-devel groups installed first.

I have downloaded ctemplate source file from here :
https://aur.archlinux.org/packages/ct/c … ate.tar.gz
and after Untar, I've tried :

cd ctemplate
makepkg -cis

And then gets following errors :

[kamix@localhost ctemplate]$ makepkg -cis

==> Making package: ctemplate 2.2-1 (Sun Jan  5 20:24:36 UTC 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading ctemplate-2.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   934  100   934    0     0    341      0  0:00:02  0:00:02 --:--:--   341
==> Validating source files with md5sums...
    ctemplate-2.2.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

Offline

#12 2014-01-05 17:23:42

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [Solved] make: *** No rule to make target 'install'

$ makepkg -g

What is the output?


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#13 2014-01-05 17:27:06

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: [Solved] make: *** No rule to make target 'install'

GE wrote:
$ makepkg -g

What is the output?

==> Retrieving sources...
  -> Downloading ctemplate-2.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   934  100   934    0     0    622      0  0:00:01  0:00:01 --:--:--   622
==> Generating checksums for source files...
md5sums=('ad50d66a4f6b4f4c4670a06cf2a61b9a')

Offline

#14 2014-01-05 17:31:33

GE
Member
Registered: 2014-01-04
Posts: 41

Re: [Solved] make: *** No rule to make target 'install'

This is what I see:

==> Retrieving sources...
  -> Downloading ctemplate-2.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  868k  100  868k    0     0   312k      0  0:00:02  0:00:02 --:--:--  312k
==> Generating checksums for source files...
md5sums=('1de89d9073f473c1e31862c4581636f3')

Your ctemplate-2.2.tar.gz seems to be bigger (in size) than the one I'm (and everyone else here) getting. Why so? No wonder checksums do not match.

None of the files avaible (see here) have the same size you are getting. hmm

Possible solution: you can download tar.gz manually from https://code.google.com/p/ctemplate/dow … z&can=2&q=, generate md5 checksum to make sure it matches the one in PKGBUILD and tell makepkg to use existing source files.

Last edited by GE (2014-01-05 17:36:24)


• WM: Openbox
• Resolution: 1366x768
• CPU: CPU: Intel Pentium CPU B980 @ 2.4GHz
• RAM: 2931MB

Offline

#15 2014-01-06 17:54:52

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: [Solved] make: *** No rule to make target 'install'

GE wrote:

This is what I see:

==> Retrieving sources...
  -> Downloading ctemplate-2.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  868k  100  868k    0     0   312k      0  0:00:02  0:00:02 --:--:--  312k
==> Generating checksums for source files...
md5sums=('1de89d9073f473c1e31862c4581636f3')

Your ctemplate-2.2.tar.gz seems to be bigger (in size) than the one I'm (and everyone else here) getting. Why so? No wonder checksums do not match.

None of the files avaible (see here) have the same size you are getting. hmm

Possible solution: you can download tar.gz manually from https://code.google.com/p/ctemplate/dow … z&can=2&q=, generate md5 checksum to make sure it matches the one in PKGBUILD and tell makepkg to use existing source files.

Thank You. It works fine...

Offline

Board footer

Powered by FluxBB