You are not logged in.

#1 2020-09-22 09:15:57

kaikikokuke
Member
Registered: 2020-03-13
Posts: 5

Installation Problems with shrew-vpn-clinet from AUR using yay

Hello everyone,

I am new to Arch but I'm loving it. It fits me really well and I would like to thank anyone who makes it possible.

I am trying to install the "shrew-vpn-client" from the AUR using yay, however I am not able to install it and get compilation errors:

==> Starting build()...
CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using install prefix /usr ...
-- Using etc install path /etc ...
-- Using bin install path /usr/bin ...
-- Using sbin install path /usr/bin ...
-- Using lib install path /usr/lib ...
-- Using man install path /usr/share/man ...
-- Looking for crypt in crypt
-- Looking for crypt in crypt - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using library -lpthread
-- Looking for pthread_mutex_timedlock in -lpthread
-- Looking for pthread_mutex_timedlock in -lpthread - found
-- Using binary /usr/bin/flex ...
-- Using binary /usr/bin/bison ...
-- Performing Test NATT_FOUND
-- Performing Test NATT_FOUND - Success
-- Enabled NAT Traversal support ...
CMake Warning (dev) at source/iked/CMakeLists.txt:111 (add_custom_command):
  Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures.
  Run "cmake --help-policy CMP0050" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The SOURCE signatures of add_custom_command are no longer supported.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at source/iked/CMakeLists.txt:120 (add_custom_command):
  Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures.
  Run "cmake --help-policy CMP0050" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The SOURCE signatures of add_custom_command are no longer supported.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/tipco/.cache/yay/ike/src/ike
Scanning dependencies of target ss_ith
[  1%] Building CXX object source/libith/CMakeFiles/ss_ith.dir/libith.o
[  3%] Linking CXX shared library libss_ith.so
[  3%] Built target ss_ith
Scanning dependencies of target ss_log
[  4%] Building CXX object source/liblog/CMakeFiles/ss_log.dir/liblog.o
[  6%] Linking CXX shared library libss_log.so
[  6%] Built target ss_log
Scanning dependencies of target ss_idb
[  7%] Building CXX object source/libidb/CMakeFiles/ss_idb.dir/libidb.o
[  9%] Building CXX object source/libidb/CMakeFiles/ss_idb.dir/base64.o
[ 10%] Linking CXX shared library libss_idb.so
[ 10%] Built target ss_idb
Scanning dependencies of target ss_pfk
[ 12%] Building CXX object source/libpfk/CMakeFiles/ss_pfk.dir/libpfk.o
[ 14%] Linking CXX shared library libss_pfk.so
[ 14%] Built target ss_pfk
Scanning dependencies of target ss_ike
[ 15%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/client.o
[ 17%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/config.o
[ 18%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/manager.o
[ 20%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/manager.file.o
[ 21%] Building CXX object source/libike/CMakeFiles/ss_ike.dir/libike.o
[ 23%] Linking CXX shared library libss_ike.so
[ 23%] Built target ss_ike
Scanning dependencies of target ss_ip
[ 25%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.frag.o
[ 26%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.o
[ 28%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.dns.o
[ 29%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.ip.o
[ 31%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.packet.udp.o
[ 32%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.pcap.o
[ 34%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.queue.o
[ 35%] Building CXX object source/libip/CMakeFiles/ss_ip.dir/libip.route.o
[ 37%] Linking CXX shared library libss_ip.so
[ 37%] Built target ss_ip
[ 39%] Generating conf.token.cpp
[ 40%] Generating conf.parse.cpp
conf.parse.yy:44.9-27: error: expected identifier before string
   44 | %define "parser_class_name" "conf_parser"
      |         ^~~~~~~~~~~~~~~~~~~
make[2]: *** [source/iked/CMakeFiles/iked.dir/build.make:81: source/iked/conf.parse.cpp] Error 1
make[1]: *** [CMakeFiles/Makefile2:292: source/iked/CMakeFiles/iked.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: ike

Does anyone have any ideas on how I could solve this issue?

I really appreciate any kind of help regarding my problem, as I am a beginner and you taking sometime to help me (if you want to of course)!

Last edited by kaikikokuke (2020-09-22 11:44:45)

Offline

#2 2020-09-22 09:21:16

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: Installation Problems with shrew-vpn-clinet from AUR using yay

Please edit your post to use code tags. Also, try building the package without yay.

Mod note: moving to AUR Issues.

Last edited by WorMzy (2020-09-22 09:22:35)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2020-09-22 09:31:09

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,975
Website

Re: Installation Problems with shrew-vpn-clinet from AUR using yay

And read the AUR comments:

pickfire wrote:

Still need

sed -i 's/define "parser_class_name"/define parser_class_name/' ./source/iked/conf.parse.yy

to fix the build.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#4 2020-09-22 09:36:29

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: Installation Problems with shrew-vpn-clinet from AUR using yay

Not really realted to the error, but If you really need shrewvpn, you should probably be using shrew-vpn-client-qt5. Why would you want to use the qt4 version?

Otherwise maybe another implementation like networkmanager-strongswan would be much better.

Last edited by progandy (2020-09-22 09:38:28)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2020-09-22 11:47:13

kaikikokuke
Member
Registered: 2020-03-13
Posts: 5

Re: Installation Problems with shrew-vpn-clinet from AUR using yay

WorMzy wrote:

Please edit your post to use code tags. Also, try building the package without yay.

Mod note: moving to AUR Issues.


I have used code tags now. Thanks for your answer and pointing it out. I will try to compile it without yay and see what happens.

Offline

#6 2020-09-22 11:48:29

kaikikokuke
Member
Registered: 2020-03-13
Posts: 5

Re: Installation Problems with shrew-vpn-clinet from AUR using yay

schard wrote:

And read the AUR comments:

pickfire wrote:

Still need

sed -i 's/define "parser_class_name"/define parser_class_name/' ./source/iked/conf.parse.yy

to fix the build.


Thanks, I'll check it out and see if I can make it work!

Offline

#7 2020-09-22 11:50:44

kaikikokuke
Member
Registered: 2020-03-13
Posts: 5

Re: Installation Problems with shrew-vpn-clinet from AUR using yay

progandy wrote:

Not really realted to the error, but If you really need shrewvpn, you should probably be using shrew-vpn-client-qt5. Why would you want to use the qt4 version?

Otherwise maybe another implementation like networkmanager-strongswan would be much better.


Thanks for the quick reply, I have to use shrewvpn ... I don't need the qt4 version. If you say so I'll go with the qt5 version.

Offline

#8 2020-09-22 12:32:04

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

Re: Installation Problems with shrew-vpn-clinet from AUR using yay

kaikikokuke, please do not post several times in a row if no one has replied. You can reply to more than one person in a single post, or you can edit your post to add information as necessary.

You might want to read the Code of Conduct before you post again.

Offline

Board footer

Powered by FluxBB