Message boards : Questions and problems : "binary operator expected" in compiled from source client
Message board moderation
Author | Message |
---|---|
Send message Joined: 25 Aug 12 Posts: 4 ![]() |
Linux x86 (Debian 5.0), GCC 4.3, BOINC 7.0.34 from "boinc_core_release_7_0a" branch. How I have been compile it: sudo apt-get build-dep boinc // installing dependencies sudo apt-get install libnotify-dev ./configure --disable-server --enable-client --prefix=/home/kanotix/boinc --sysconfdir=/home/kanotix/boinc/etc CXXFLAGS="-O3 -funroll-loops -fforce-addr -ffast-math" I want make a prefix /home/user/boinc to make a tar.gz2 archive (--prefix=/home/kanotix/boinc). But after "make install" I see error "unable to create /etc/init.d/boinc-client", and I tried to add "--sysconfdir=/home/kanotix/boinc/etc". It did not help, and I run "sudo make install". All files are in /home/user/kanotix" and it is in my /etc/init.d/boinc-client: ## These 4 installation dirs set by autoconf. ########################## prefix=`dirname /home/kanotix/boinc/.` exec_prefix=`dirname /home/kanotix/boinc/.` bindir=`dirname ${exec_prefix}/bin/.` sysconfdir=`dirname /home/kanotix/boinc/etc/.` ######################################################################## # set the basic PATH PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/ucb/bin export PATH After compilind and installing: sudo groupadd boinc //creating a boinc group sudo usermod -a -G boinc kanotix // adding my user to boinc group sudo useradd -g boinc -m boinc // adding boinc user sudo usermod -a -G boinc boinc // adding boinc user to boinc group sudo chown -R boinc:boinc /var/lib/boinc // making this directory a directory of a boinc user An error: kanotix@Kanotix:~$ sudo /etc/init.d/boinc-client start The BOINC client requires initialization. [WARNING] Starting BOINC client as a daemon: /etc/init.d/boinc-client: line 417: [: 25199: binary operator expected kanotix@Kanotix:~$ sudo /etc/init.d/boinc-client start The BOINC client requires initialization. [WARNING] Starting BOINC client as a daemon: /etc/init.d/boinc-client: line 417: [: too many arguments kanotix@Kanotix:~$ sudo /etc/init.d/boinc-client start The BOINC client requires initialization. [WARNING] Starting BOINC client as a daemon: /etc/init.d/boinc-client: line 417: [: too many arguments |
Send message Joined: 25 Aug 12 Posts: 4 ![]() |
Tried to compile and install without prefix. Same error. |
Send message Joined: 25 Aug 12 Posts: 4 ![]() |
This is 417 string: if [ $PID ]; then echo $PID > $PIDFILE touch $LOCKFILE && echo_success || ( echo_failure ; echo ) fi |
Send message Joined: 25 Aug 12 Posts: 4 ![]() |
I found who is 21599 PID: 25197 pts/3 00:00:00 su 25199 pts/3 00:00:00 sh 25210 pts/3 00:00:00 boinc_client kanotix@Kanotix:~/boinc_source/boinc_core_release_7_0a$ I think it was started. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.