OK. Given that, I'd recommend just using something like:
mkdir -p /opt/kudu/{bin,www}
cp build/release/bin/{kudu,kudu-tserver,kudu-master} /opt/kudu/bin/
rsync -av --delete www/ /opt/kudu/www/
On Wed, Jun 21, 2017 at 6:33 PM, sky <[email protected]> wrote:
> Hi Todd,
> I think I'm the same as Pavel. ^_^
>
>
>
>
>
>
>
>
> At 2017-06-21 20:49:15, "Pavel Martynov" <[email protected]> wrote:
> >Hi Todd,
> >
> >I'm afraid I'm not familiar with CMake at all, it looks scary for me :)
> >
> >2017-06-20 21:37 GMT+03:00 Todd Lipcon <[email protected]>:
> >
> >> Hi Pavel and Sky,
> >>
> >> Currently cmake's install target is not properly set up to install the
> >> binaries. Usually we just manually copy the binaries to the intended
> >> locations.
> >>
> >> It would be great if we could set up cmake appropriate to install the
> >> server binaries in addition to the client and client headers. Is either
> of
> >> you interested in writing a patch?
> >>
> >> -Todd
> >>
> >> On Tue, Jun 20, 2017 at 1:35 AM, Pavel Martynov <[email protected]>
> >> wrote:
> >>
> >> > Hi!
> >> >
> >> > I ran into exactly the same problem today due to 1.4.0 source-only
> >> release.
> >> > I wrote Dockerfile for reproducing
> >> > https://gist.github.com/xkrt/6734ddc96846e7eaf71eb3a6e17e428d
> >> >
> >> >
> >> >
> >> > 2017-06-20 8:16 GMT+03:00 sky <[email protected]>:
> >> >
> >> > > Hi all,
> >> > > I am using kudu-1.4,after compiling with "
> >> > http://kudu.apache.org/docs/
> >> > > installation.html#rhel_from_source", there is no binary file in the
> >> > > installation directory(/opt/kudu),why?
> >> > > The following is the last step :
> >> > > [root@db release]# make DESTDIR=/opt/kudu install
> >> > > Install the project...
> >> > > -- Install configuration: "RELEASE"
> >> > > -- Up-to-date: /opt/kudu/usr/local/lib64/libkudu_client.so.0.1.0
> >> > > -- Up-to-date: /opt/kudu/usr/local/lib64/libkudu_client.so.0
> >> > > -- Up-to-date: /opt/kudu/usr/local/lib64/libkudu_client.so
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/callbacks.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/client.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/row_result.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/scan_batch.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/
> >> kudu/client/scan_predicate.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/schema.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/shared_ptr.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/stubs.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/value.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/client/write_op.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/
> >> > kudu/client/resource_metrics.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/
> kudu/common/partial_row.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/util/kudu_export.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/util/monotime.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/util/slice.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/include/kudu/util/status.h
> >> > > -- Up-to-date: /opt/kudu/usr/local/share/doc/
> >> > > kuduClient/samples/CMakeLists.txt
> >> > > -- Up-to-date: /opt/kudu/usr/local/share/doc/
> >> > kuduClient/samples/sample.cc
> >> > > -- Old export file "/opt/kudu/usr/local/share/kuduClient/cmake/
> >> > kuduClientTargets.cmake"
> >> > > will be replaced. Removing files [/opt/kudu/usr/local/share/
> >> > > kuduClient/cmake/kuduClientTargets-release.cmake].
> >> > > -- Installing: /opt/kudu/usr/local/share/kuduClient/cmake/
> >> > > kuduClientTargets.cmake
> >> > > -- Installing: /opt/kudu/usr/local/share/kuduClient/cmake/
> >> > > kuduClientTargets-release.cmake
> >> > > -- Installing: /opt/kudu/usr/local/share/kuduClient/cmake/
> >> > > kuduClientConfig.cmake
> >> > > -- Munging kudu client targets in /opt/kudu/usr/local/share/
> >> > > kuduClient/cmake/kuduClientConfig.cmake
> >> > > -- Munging kudu client targets in /opt/kudu/usr/local/share/
> >> > > kuduClient/cmake/kuduClientTargets-release.cmake
> >> > > -- Munging kudu client targets in /opt/kudu/usr/local/share/
> >> > > kuduClient/cmake/kuduClientTargets.cmake
> >> > > [root@db release]# ls /opt/kudu/usr/local/
> >> > > include lib64 share
> >> > > [root@db release]#
> >> > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >> > --
> >> > with best regards, Pavel Martynov
> >> >
> >>
> >>
> >>
> >> --
> >> Todd Lipcon
> >> Software Engineer, Cloudera
> >>
> >
> >
> >
> >--
> >with best regards, Pavel Martynov
>
--
Todd Lipcon
Software Engineer, Cloudera