console-client's People
Forkers
ariia-git freeasabeer sonyeric docbender xxd3yhot4xx cvetomird91 szepeviktor jameslinus bellodox edabg etnepres theantnest seereason koenmeersman lusky3 plague-doctor imtiajmeah cbuschka pir8aye ebouda33 omarpiani woopla gdzevo ibnharoon yatsek ohsevin xcage15 cloudxtreme smessmer crazyrex gordin kost arkoniak adriankhl ipadawan bigornoo rds13 vobornik zwo-bot silverbucket andyzito kristyrodriquez21 mbtronics sukimsiriam unfinishe glownd xuze1993 fwinkl 5kft zneswork gregology youns3510 vwdubb maggu2810 fohnbit blackjackshellac vasi kcburge deus187 amicalmant grewhit25 sumathiran frikke txiki31 lioshi vincenthe2016 darkmaster187 alworx tomaszkazmierczak joemat 51cgo chucknorrison ava1ar martinspiessl fafa97 stuartcampbell lampchris jwolfgram jmcomby lalelunet ggiubelli tifabl jmparis valentijnscholten carstenmertes adrixan kuba15 coreyman2000 hirotsuguminowa fvnpqqdwpo brechmos daed5 dberlin mfschumann tuxpm oshikore jonathan-dobson theotherrealm hasechris historical-theologyconsole-client's Issues
stopped working due to ssl change?
console client now doesn't leave "OFFLINE", and i get this on the log:
Thu, 12 Apr 2018 08:24:23.656 +0000 35272448 diff NOTICE: pssl-mbedtls.c:179 (function psync_set_ssl_error): got error -9984
Thu, 12 Apr 2018 08:24:23.656 +0000 35272448 diff WARNING: pssl-mbedtls.c:318 (function psync_ssl_connect_finish): assertion likely_log(ret==-0x0052 || ret==-0x0054) failed
Thu, 12 Apr 2018 08:24:23.656 +0000 35272448 diff NOTICE: pssl-mbedtls.c:323 (function psync_ssl_connect_finish): returning PSYNC_SSL_FAIL
Thu, 12 Apr 2018 08:24:23.656 +0000 35272448 diff WARNING: pcompat.c:1540 (function psync_socket_connect): assertion unlikely_log(ssl!=0) failed
2.0.1 x86_64 issues on CentOS 7.4
Hi
I have tried the 2.0.1 64 bit client (downloaded binary) I can no longer find for download here. I think I downloaded is a week ago.
This is what I can see...
[apa@apollo ~]$ ps -ef|grep apa
root 13030 10307 0 22:42 pts/0 00:00:00 sudo su - apa
root 13031 13030 0 22:42 pts/0 00:00:00 su - apa
apa 13032 13031 0 22:42 pts/0 00:00:00 -bash
apa 13446 1 1 22:49 ? 00:00:01 pCloudDriveDeamon
root 13468 13446 0 22:49 ? 00:00:00 fusermount -o rw,nosuid,nodev,auto_unmount,fsname=pCloud.fs,nonempty -- /home/apa/pCloudDrive
apa 13618 13032 0 22:52 pts/0 00:00:00 ps -ef
apa 13619 13032 0 22:52 pts/0 00:00:00 grep --color=auto apa
[apa@apollo ~]$
[apa@apollo ~]$ ls -la pCloudDrive/
total 9
drwxr-xr-x 2 apa apa 4096 Jan 1 1970 .
drwxr-xr-x 2 apa apa 4096 Apr 17 22:44 aa
drwxr-xr-x 2 apa apa 4096 Apr 17 22:44 bb
drwxr-xr-x 2 apa apa 4096 Apr 17 22:50 cc
-rw-r--r-- 1 apa apa 0 Apr 17 22:50 dd
-rw-r--r-- 1 apa apa 39 Apr 17 22:49 .directory
-rw-r--r-- 1 apa apa 6094 Apr 17 22:49 .pcloudicon.png
[apa@apollo ~]$
It was started like this....
[apa@apollo ~]$ pwd
/home/apa
[apa@apollo ~]$ /tmp/pcloudcc-2.0.1-Linux/bin/pcloudcc -u MYPCLOUDEMAILID -p -s -n -d
It added data (aa, bb and cc above). But it refuses to sync. Nothing is blocked on the network....
Starting non daemonized and it says....
pCloud console client v.2.0.1
Please, enter password
Down: Everything Downloaded| Up: Remaining: 1 files, 0Bytes, status is OFFLINE
Same problem...
Sniffing and it seems like an SSL error...
Any ideas?
Thanks
Peo
feature request: a single line automatic installer instead of multiple commands
I noticed that in your official instrucitons of "Build steps", before the last step "pcloudcc -u username -p", there are 16 separate steps to be executed one after one:
1. sudo apt-get install cmake zlib1g-dev libboost-system-dev libboost-program-options-dev libpthread-stubs0-dev libfuse-dev git
2. mkdir console-client
3. git clone https://github.com/pcloudcom/console-client.git ./console-client/
4. cd ./console-client/pCloudCC/
5. cd lib/pclsync/
6. make clean
7. make fs
8. cd ../mbedtls/
9. cmake .
10. make clean
11. make
12. cd ../..
13. cmake .
14. make
15. sudo make install
16. ldconfig
However, we can see that in these 16 commands, no one is "user specific", they are absolutely the SAME commands on any server. So, why not just combine them into a single batch installer file (pcloud-builder.sh)?
If you make such an "automatic installer file", then server admin can just run ALL of above 16 commands by input and run a single line of command like:
wget -O https://github.com/pcloudcom/console-client/pcloud-builder.sh | bash
Don't you think this is better?
After the builder script being executed, then the user can run the last command which requires username and password.
Thank you.
Arguments to -p ignored
Arguments to -p appear to be ignored. I am always prompted to enter my password. Is this behavior intentional? If so, then how can I automate this cli to connect to pcloud? If not, then how might I get the -p argument to work? (I have compiled the cli on a Raspberry Pi 2 running Ubuntu Server 16.04.)
fs name
Please consider calling the filesystem pcloudfs
instead of pCloud.fs
as in all Linux filesystems.
Thank you.
Sync only one dir from the web disk
I have several folders in my on-line account. I want to sync only one. Is this possible ?
I saw that in pCloud web page, on pCloud settings => Linked Accounts there is a line once I run the client on my server for the first time:
pclcmd Anton Batenev [abbat] / (root) All Files, Full Access
So if I could change "/(root) All Files, Full Access" to only /bkp it would be awesome.
I searched a lot in the source-code trying to find the line where this is configured but couldn't find it. If you could just point to me in the source code where this is configured, I'll alter myself.
Thanks.
Compiling this stuff is a nightmare and at the end does not work anyway...
Hello,
I successfully compiled your code in a raspbian OS installed on a raspberry-pi.
Step to compile:
- Switch to the
electron
branch. - Always substitute the
-mtune=core2
option with-mtune=native
in allCFLAGS
(within the used Makefiles). I think this could be the default sincenative
should optimize the code for the actual architecture. - Also add the option
-I../../../
to the sameCFLAGS
if the code looks forgitcommit.h
. - compile all the following codes inside the
lib
folder:pclsync
powerlay-linux
mbedtls
Install all the missing library while compiling (packages:libssl-dev
andlibcrypto-dev
).
- Eventually... if you are lucky enough a
cmake .
followed by amake
will be enough to get the executable.
Probably I forgot some step.
However:
BTW, when I try to run
$ pcloudcc -u "myuser" -p
I write the password but it stop at loggin in
and then nothing happen.... Moreover there is no difference if I write the right password or a wrong one.... :(
probleme compil
on make fs in lib/pclsync/
pdevice_monitor.c:338:21: fatal error: libudev.h: No such file or directory
#include <libudev.h>
^
compilation terminated.
: recipe for target 'pdevice_monitor.o' failed
make: *** [pdevice_monitor.o] Error 1
how i found libudev.h
Add tests
Please add some basic tests.
Debug log should be disabled by default.
By default, pcloudcc logs debug information to /tmp/psync_err.log, there are 2 issues about doing it, and it should be disabled by default.
It is a security vulnerability to write to fixed name files in /tmp, another user may put a symlink in place and overwrite content from any file from the pcloudcc owner user. If pcloudcc is run as root, its an easy privilege scalation.
The log file may grow way beyond what the user expects or have available in /tmp, it got to 6GB on one of my devices.
Allow passing fuse options
Please allow clients to pass fuse options (at least uid and gid )
Right now I see it is hardcoded in pfs.c
#if defined(P_OS_POSIX) myuid=getuid(); mygid=getgid(); #endif
Limit cache size
There doesn't seem to be a way to limit the size of the cache with the console client.
If I copy a lot of data to my pcloud mount, the ~/.pcloud/Cache directory will grow until it fills up the disk.
How to completely uninstall this ?
I installed this tool on my Ubuntu server, after trying it for almost 2 months, I want to compleltely uninstall/remove it from my server.
But it seems that the author of this tool did not provide a command to uninstall it.
How can I completely uninstall this ?
Thank you.
pcloudcc: command not found
Hello,
Ubuntu 14.04 LTS: I've run apt-get command sudo apt-get install cmake zlib1g-dev libboost-system-dev libboost-program-options-dev libpthread-stubs0-dev libfuse-dev
, then I've cloned repo and from the repo folder have tried pcloudcc -h
. Result is pcloudcc: command not found
. What I'm doing wrong?
Thank you
not returned to command prompt after I enter my password
Ok, finally I successfully finished the "Build steps" , but for the last step. after I enter my password, there returned several lines and then halt, no error message, no command prompt either:
root@ubuntu:/usr/local/sbin/pcloud/console-client/pCloudCC# pcloudcc -u [email protected] -p -s
pCloud console client v.2.0.1
Please, enter password
Down: Everything Downloaded| Up: Everything Uploaded, status is LOGIN_REQUIRED
logging in
Down: Everything Downloaded| Up: Everything Uploaded, status is CONNECTING
Down: Everything Downloaded| Up: Everything Uploaded, status is SCANNING
event1073741824
event1073741825
Down: Everything Downloaded| Up: Everything Uploaded, status is READY
What should I do now? Just wait? Or use "Ctrl + C" to terminate it?
I think this is a bug of your script. It should return to command prompt if it finished the former command.
Problem with updating files in crypto folder
Hi!
We are using pCloud as backup storage to sync local backups with pCloud Crypto folder.
For file transfer to pCloud we are using pCloud drive for Linux CLI version prebuild debian package (pcloudcc_2.0.1-1_amd64.deb) on Debian 8.8 jessie.
The backup process is automated as batch process by following scenario:
- Mounting pCloud drive (pcloudcc -u $pcuser -d -m /mnt/pcloud).
- Starting crypto service (echo "startcrypto crypto_pass" | pcloudcc -k).
- Executing 'rsync -rlptDv --delete /var/localbackup /mnt/pcloud/Crypto/'
- Stopping crypto service (echo "stopcrypto" | pcloudcc -k).
- Finalizing/dismounting pCloud drive (echo "finalize" | pcloudcc -k).
This process completes without reporting any errors or warnings.
Unfortunately we have found a serious problem.
Some of files which already exists on pCloud drive are not updated/replaced and stayed with older versions.
The file which is send is newer but is not replaced on pCloud.
Another thing to consider is that if I transfer only one file it is replaced, but if I execute batch with rsync of whole directory, some files are not replaced although that rsync is reported that file is successfully transferred.
What can be the source of problem?
Regards,
Dimitar Angelov
Compile error on raspi3
I am trying to compile it on a osmc running in a raspi3 box but i get a asm error:
r7 cannot be used in asm here
I think that the solution is to apply the -fomit-frame-pointer to GCC compiler options as hinted in the below links:
- https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here
- cuberite/cuberite#2387
I am not familiar with make/cmake, could you please fix it?
README.md needs build instrucctions
The README.md needs build instructions. I ran cmake under the pcloud* dir and nothing happened.
I ended up installing the Debian deb file on ubuntu 16.04 as a result.
got "init failed" when trying to mount pCloud to /backup
I want to use pCloud as a remote backup storage. So I followed your instructions in REAMDE and managed to installed it.
Then I ran following command:
pcloudcc -u [email protected] -m /backup
And got following result:
pCloud console client v.2.0.1
init failed
I think "init failed" means something wrong. But what is wrong? How to mount pCloud as a "local folder" in my Ubuntu server so that my VestaCP can save "local backup" package there?
Thank you.
Is it possible to mount pCloud storage to a subdirectory like /home/user/web/backup ?
From your README.md I know that it is possible to mount pCloud to a top directory like /backup. But I think, maybe sometimes, I want to mount pCloud storage to a subdirectory, which is more deeper like:
/home/user/web/backup
Is this possible?
Thank you.
Get pCloudCC to work behind Proxy
Thank you for your work on this project.
I am a teacher and work behind a proxy server. PcloudCC doesn't seem to work behind the proxy.
I wonder whether it would be possible to specify a proxy address / port / username / password for the app to use so it can be used behind a proxy?
I wonder whether one way to achieve this would be to have a config file containing this information that pcldoucc reads?
Thanks again for all your work.
error compile on raspbian stretch
hello, first of all sorry for my english "google translate";)
I am French
I have been trying for some time to compile pcloudcc on raspbian stretch but it ends with errors.
first errors in several files during the "make fs" command in ./console-client/pCloudCC/lib/pclsync
the error "warning: 'readdir_r' is deprecated"
then the sentence
"ar:" the modifier "u" is ignored since "D" is the default (see "U")
after search readdir_r is no longer used in libc6. Do you have any ideas?
Thank you
How to query the status?
After the daemon started is there any way to get the status? Eg to kill after everything has been synchronized (status = READY).
Or a switch would be enough that would automatically make pcloudcc exists when all is done.
pssl-mbedtls.h:143:20: error: two or more data types in declaration specifiers
In header pssl-mbedtls.h following function has double void definition:
static inline void void psync_aes256_decode_4blocks_consec_xor(...
[a pure formality] sources publication mode
Can I ask that every new release of this software be inserted in the appropriate "releases" section rather than at the bottom of the README file?
It may seem like an insignificant detail, but it is sufficient to hinder the publication of packages in the official repository when the Linux distribution strictly follows certain rules (...)
In my case, it is Void Linux that has not yet accepted my packaging request since here on github there appears to be a "0 releases" status, even though the software is from long time released in a stable version..
Thanks for your consideration.
Invalidate session tokens
When using a browser the session tokens are invalidated(expiring) after some amount of time. This, however is not valid for session tokens created by console client. Every login with the console client is creating new session, but the old ones are not invalidated (Settings->Account->Active Tokens).
I think that the session tokens for console client should be expiring similarly to the browser tokens.
Sync folders like on the desktop app
Feature request: Could you please add Sync Folders like on the desktop app.
That ist a major feature from pCloud. On raspberry pi only work this client and the fuse mount-point is nor sufficient if you like to share the content with samba or minidlna on you network. You need the date offline and on the normale file system.
Regards,
Isaac
Wrong links
Hi
https://github.com/pcloudcom/console-client#other-distributions should refer to other packages than debian. But... it is also debian.
Looking for generic 64 bit binary do avoid installing to much build libs and includes and build myself.
invalid pointer on finalize and hanged mount
I mount with command
pcloudcc -u myemail -m /new -d
Then wrote a file
then tried to exit with
echo "finalize" | pcloudcc -u myemail -k
I get this error
pCloud console client v.2.0.1
Supported commands are:
startcrypto , stopcrypto, finalize, q, quit
Finalize failed. return is 32646 and message is
*** Error in `pcloudcc': munmap_chunk(): invalid pointer: 0x00000000010a9850 ***
Aborted
And /new is still there but empty
Attempting to compile on CentOS
I'm trying to follow the build steps. I'm on make fs in pCloudCC/lib/pclsync and get the following:
cc -Wall -Wpointer-arith -O2 -g -fno-stack-protector -fomit-frame-pointer -fPIC -DP_OS_LINUX -I../sqlite -DP_SSL_MBEDTLS -I../mbedtls/include -c -o pssl-mbedtls.o pssl-mbedtls.c
pssl-mbedtls.c: In function ‘psync_ssl_init’:
pssl-mbedtls.c:102: error: PIC register ‘%ebx’ clobbered in ‘asm’
make: *** [pssl-mbedtls.o] Error 1
How to change file permissions ?
I can not change the permissions of the mounted files.
I would like to make some scripts i have, to be executed directly from the mounted space.
Can anyone inform me how this is possible?
accesing pcloud data
I am trying to do a simple copy.
I start the copy, it works for a couple of files than it hangs.
Tried with multiple folders, same thing
How to mount for alluser
I want to mount for alluser the mount point pcloud
and change the right of the mount point
how i can do this
THX
exemple /mnt/pcloud directory on my system in root
pcloudcc -u [email protected] -p -d -m /mnt/pcloud/
and /mnt/pcloud have right userX:groupX and no root
like all mount system point
auto password input
I'm creating a script to auto connect on startup.
When running the command manually, it prompts for the password. Can it be possible to add the password to the command, just like the username, so no need for manual input?
pcloudcc -u username -p -s
Not sure what the flag -s is actually doing as it doesn't seem to save the password.
Thanks,
Hidden crypto pass
Please add a possibility to enter the crypto password hidden. At the moment it must be given as a parameter the startcrypto command in clear text.
pcloudcc does not appear to have a notification Icon
OK my mind is slipping, but I am sure it's called a notification icon.
Anyways, I think the pcloudcc on a desktop should have a notification icon
If this is planned, please disregard.
psync_aes256_encode_2blocks_consec does not exist in a non HW accelerated version
While trying to build pcloudcc on a non x86 architecture (Synology NAS), I come across the fact that psync_aes256_encode_2blocks_consec is not defined besides its hw accelerated version.
Would you mind to provide a plain C version of this function ?
Linitan says: postinst-must-call-ldconfig
You could add /sbin/ldconfig
here
https://github.com/pcloudcom/console-client/blob/master/pCloudCC/debian/postinst.ex#L23
Unable to execute a bash script
When executing a simple bash script I receive the following error
./10_Recommended_query.sh
bash: ./10_Recommended_query.sh: /bin/bash: bad interpreter: Permission denied
_GNU_SOURCE already defined
[ 42%] Building CXX object CMakeFiles/pcloudcc_lib.dir/pclsync_lib.cpp.o
In file included from /root/console-client/pCloudCC/pclsync_lib.cpp:30:0:
/root/console-client/pCloudCC/lib/pclsync/pcompat.h:95:0: warning: "_GNU_SOURCE" redefined
#define _GNU_SOURCE
^
<command-line>:0:0: note: this is the location of the previous definition
Documentation request: BSD Support
Is there any chance of this working on *BSD?
out of sync
I think my local pcloud is out of sync or not uploading the files. I had a problem with doing a diff on a pcloud directory vs local directory and it seemed to go into never-never land. So, I killed it (difficult) and then unmounted pcloud and re-mounted pcloud. I can see all the new files and directories I copied into the fuse directory, but they are not uploading (at least don't appear to be uploading).
So... is there a way to re-sync my local pcloud directory with the cloud and in such a way that I don't lose the files that I "copied" over? I have been using the console client (and loving it).
I have tried killing pcloud console and restarting and it seems to find lots of things but doesn't seem to upload...
Down: Everything Downloaded| Up: 1.75MB/sec, Remaining: 3 files, 0Bytes 116350436d 19h, status is UPLOADING
Down: Everything Downloaded| Up: 1.75MB/sec, Remaining: 3 files, 0Bytes 116350436d 19h, status is UPLOADING
Down: Everything Downloaded| Up: 1.78MB/sec, Remaining: 3 files, 0Bytes 114309201d 2h, status is UPLOADING
Down: Everything Downloaded| Up: 1.78MB/sec, Remaining: 3 files, 0Bytes 114309201d 2h, status is UPLOADING
Down: Everything Downloaded| Up: 1.78MB/sec, Remaining: 3 files, 0Bytes 114309201d 2h, status is UPLOADING
Down: Everything Downloaded| Up: 1.78MB/sec, Remaining: 3 files, 0Bytes 114309201d 2h, status is UPLOADING
event1073741825
Down: Everything Downloaded| Up: 1.80MB/sec, Remaining: 3 files, 0Bytes 112467061d 3h, status is UPLOADING
Down: Everything Downloaded| Up: 1.80MB/sec, Remaining: 3 files, 0Bytes 112467061d 3h, status is UPLOADING
Down: Everything Downloaded| Up: 1.84MB/sec, Remaining: 3 files, 0Bytes 110558692d 19h, status is UPLOADING
event1073741825
Down: Everything Downloaded| Up: 1.84MB/sec, Remaining: 3 files, 0Bytes 110558692d 19h, status is UPLOADING
Down: Everything Downloaded| Up: 1.76MB/sec, Remaining: 3 files, 0Bytes 115165958d 12h, status is UPLOADING
Down: Everything Downloaded| Up: 1.76MB/sec, Remaining: 3 files, 0Bytes 115165958d 12h, status is UPLOADING
Down: Everything Downloaded| Up: 1.83MB/sec, Remaining: 3 files, 0Bytes 111233766d 11h, status is UPLOADING
event1073741825
Down: Everything Downloaded| Up: 1.83MB/sec, Remaining: 3 files, 0Bytes 111233766d 11h, status is UPLOADING
Down: Everything Downloaded| Up: 1.73MB/sec, Remaining: 3 files, 0Bytes 117585819d 10h, status is UPLOADING
Down: Everything Downloaded| Up: 1.73MB/sec, Remaining: 3 files, 0Bytes 117585819d 10h, status is UPLOADING
Down: Everything Downloaded| Up: 1.70MB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
event1073741825
Down: Everything Downloaded| Up: 1.70MB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 1.49MB/sec, Remaining: 3 files, 0Bytes 136020207d 7h, status is UPLOADING
Down: Everything Downloaded| Up: 1.49MB/sec, Remaining: 3 files, 0Bytes 136020207d 7h, status is UPLOADING
Down: Everything Downloaded| Up: 1.49MB/sec, Remaining: 3 files, 0Bytes 136020207d 7h, status is UPLOADING
Down: Everything Downloaded| Up: 1.49MB/sec, Remaining: 3 files, 0Bytes 136020207d 7h, status is UPLOADING
Down: Everything Downloaded| Up: 1.46MB/sec, Remaining: 3 files, 0Bytes 138724075d 17h, status is UPLOADING
Down: Everything Downloaded| Up: 1.46MB/sec, Remaining: 3 files, 0Bytes 138724075d 17h, status is UPLOADING
Down: Everything Downloaded| Up: 1.49MB/sec, Remaining: 3 files, 0Bytes 135832076d 17h, status is UPLOADING
Down: Everything Downloaded| Up: 1.49MB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
event1073741825
Down: Everything Downloaded| Up: 1.47MB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 1.22MB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 1.07MB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 872KB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 793KB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 569KB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 569KB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 345KB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: 121KB/sec, Remaining: 3 files, 229KB 1s, status is UPLOADING
Down: Everything Downloaded| Up: Remaining: 3 files, 229KB, status is UPLOADING
Preserve time stamps
When using rsync with the mounted pcloud drive, ctime and mtime are not preserved. This seems to be an issue with the OSX client as well. I want support for preserving time stamps when copying files to the pCloud drive.
possible to use pcloudcc in fstab ?
i want to mount my plcoud in fstab how to do this
for all user
psyncgui and pcloudcc config conflict?
Hi,
If I use the psyncgui to configure my account then pcloudcc will say "Init failed." when trying to log in to the account.
When I delete the .pcloud folder in my home directory that was created by psyncgui and then try to log in to my account again using pcloudcc then everything works as expected.
Other than that pcloudcc is working great, thanks for the great tool.
There it's a way to send files? donwload public download link?
Where is the best location to place the folder "console-client"?
I noticed that in your README tutorial about this console-client script, the first command after installing dependencies is:
mkdir console-client
However, I have no idea in which directory should I run this command? That is to say, where is the best location to place the folder "console-client"?
By default, if I only input the command:
# cd
I am in /root directory. Do you mean I should create this folder "console-client" in /root directory?
If /root is NOT the best place, then which directory is the best place?
I know I can create folder "console-client" in almost anywhere, but I think there should be one place which is the best choice. So please tell me what is that? I am a very newbie of Linux .
Thank you.
My success in building on ARM.
I don't know much about Linux, but trying to compile on older 2.6.32 ARM system.
I had to add __USE_UNIX98 to both pthread.h and unistd.h as a define to get the first build step completed, and I also had to add it to pfs.c for some strange reason.
But I guess I don't have CMake yet for the next step ;-).
Regards.
Compilation error
[...]
/usr/include/boost/smart_ptr/detail/local_counted_base.hpp:67:9: error: ‘__builtin_assume’ was not declared in this scope
__builtin_assume( local_use_count_ >= 1 );
^~~~~~~~~~~~~~~~
/usr/include/boost/smart_ptr/detail/local_counted_base.hpp:67:9: note: suggested alternative: ‘__builtin_abs’
__builtin_assume( local_use_count_ >= 1 );
^~~~~~~~~~~~~~~~
__builtin_abs
make[2]: *** [CMakeFiles/pcloudcc_lib.dir/build.make:87: CMakeFiles/pcloudcc_lib.dir/pclsync_lib.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:169: CMakeFiles/pcloudcc_lib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Packages needed for Debian
apt-get install cmake zlib1g-dev libboost-system-dev libboost-program-options-dev libpthread-stubs0-dev libfuse-dev fuse
fuse is actually needed for fusermount.
Please consider adding these to the debian/control
file too.
Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.