Δημοσιεύτηκε: 31 Οκτ 2017, 18:34
έγραψε:Το FreeBSD είναι άλλο λειτουργικό σύστημα, εκείνη η γραμμή είναι για εκείνο δεν χρειάζεται να την τρέξεις εσύ.
Ευχαριστώ Maras.
Μετά δεν ξέρω τι να κάνω όμως. Οι οδηγίες λένε
έγραψε:Build debian package
Source repository already contains debian packaging scripts.
So, to build the debian package, install dpkg-dev and run dpkg-buildpackage -j4 in the source directory. *.deb package will be generated in the parent directory.
Download sources
Either checkout with git: git clone https://github.com/vitalif/grive2
Or download a ZIP archive and unpack it to some directory.
CMake
Now that you are in the source code's “grive2” subdirectory (after 'cd /path/to/yourGriveSourceCodeDir/grive2'), at the prompt type:
mkdir build
cd build
cmake ..
note the double period (..) as the argument to cmake, to denote the parent directory.
You should get a success message like: ”– Build files have been written to: /your/dir”
Don't run it with sudo - root access is not needed for building.
Make and install
At the prompt type:
make -j4
You'll get lots of messages & hopefully a success message: ”[100%] Built target grive_executable”. The executable file itself (called “grive”) will be placed in the “grive” subdirectory.
Then install it to the system binary directory (/usr/local/bin by default) by running:
sudo make install
Αυτό είναι το κακό με το ubuntu/linux. Αν είσαι αρχάριος όλα σου φαίνονται δύσκολα.