[Gluster-devel] Gluster on RHEL 8

Barak Sason sason922 at gmail.com
Tue Jul 23 12:15:28 UTC 2019


Hello again Kaleb,

Thank you for the clarification - at least now I know where the rpcgen is.
Unfortunately, the problem still persists.

I'm attaching the repo file and terminal output.
Might you have any idea what I'm doing wrong?

Thank you very much for your assistance,

Barak

On Tue, Jul 23, 2019 at 2:40 PM Kaleb Keithley <kkeithle at redhat.com> wrote:

> rpcgen is in the CRB (codeready-builder) repo.
>
>
> ================================================================================
>   Package Arch    Version        Repository
>   Size
>
> ================================================================================
>   Installing:
>   rpcgen  x86_64  1.3.1-4.el8    codeready-builder-for-rhel-8-x86_64-rpms
>   52 k
>
>   Transaction Summary
>
> ================================================================================
>
> Make sure that the codeready-builder-for-rhel-8-x86_64-rpms repo is
> enabled (enabled = 1) in /etc/yum.repos.d/redhat.repo or or run dnf with
> `... --enable codeready-builder-for-rhel-8-x86_64-rpms ...`
>
> --
>
> Kaleb
>
>
> On Tue, Jul 23, 2019 at 7:31 AM Barak Sason <sason922 at gmail.com> wrote:
>
>> Greeting Kaleb,
>>
>> Thank you for the clarification.
>>
>> Though, I did try to install rpcgen package, but without success (libtirpc-devel
>> package is installed).
>> I'm attaching relevant terminal output.
>>
>> What am I missing?
>>
>> Barak
>>
>> On Tue, Jul 23, 2019 at 2:25 PM Kaleb Keithley <kkeithle at redhat.com>
>> wrote:
>>
>>>
>>> you must not use --without-libtirpc on RHEL8.
>>>
>>> rpcgen is in the rpcgen package on RHEL8 and Fedora 29+
>>>
>>> --
>>>
>>> Kaleb
>>>
>>>
>>> On Tue, Jul 23, 2019 at 7:11 AM Barak Sason <sason922 at gmail.com> wrote:
>>>
>>>> Greeting all,
>>>>
>>>> I've made a fresh installation of RHEL 8 on a VM and have been trying
>>>> to set up Gluster on that system.
>>>>
>>>> Running ./autogen.sh completes OK, but running ./config results in an
>>>> error regarding missing 'rpcgen'.
>>>> 'libtirpc-devel package is installed.
>>>> Running ./configure --without-libtirp  results in the same error.
>>>> I'm attaching reverent terminal output.
>>>> I'm currently out of ideas.
>>>>
>>>> I appreciate any help you may offer,
>>>>
>>>> Barak
>>>> _______________________________________________
>>>>
>>>> Community Meeting Calendar:
>>>>
>>>> APAC Schedule -
>>>> Every 2nd and 4th Tuesday at 11:30 AM IST
>>>> Bridge: https://bluejeans.com/836554017
>>>>
>>>> NA/EMEA Schedule -
>>>> Every 1st and 3rd Tuesday at 01:00 PM EDT
>>>> Bridge: https://bluejeans.com/486278655
>>>>
>>>> Gluster-devel mailing list
>>>> Gluster-devel at gluster.org
>>>> https://lists.gluster.org/mailman/listinfo/gluster-devel
>>>>
>>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20190723/14be9e82/attachment-0001.html>
-------------- next part --------------
[root at localhost src]# subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
Repository 'codeready-builder-for-rhel-8-x86_64-rpms' is enabled for this system.
[root at localhost src]# dnf upgrade
Updating Subscription Management repositories.
Last metadata expiration check: 0:05:06 ago on Tue 23 Jul 2019 03:06:19 PM IDT.
Dependencies resolved.
Nothing to do.
Complete!
[root at localhost src]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for rpcgen... no
configure: error: `rpcgen` not found, glusterfs needs `rpcgen` exiting..
[root at localhost src]# 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redhat.repo
Type: application/octet-stream
Size: 34662 bytes
Desc: not available
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20190723/14be9e82/attachment-0001.obj>


More information about the Gluster-devel mailing list