You have searched for packages that names contain bison in all suites, all sections, and all architectures. Found 8 matching packages. Exact hits Package bison. Xenial (16.04LTS) (devel): YACC-compatible parser generator 2:3.0.4.dfsg-1: amd64 arm64 armhf i386. Install Official MSSQL driver for Unbuntu 14.04 - pdosqlsrv - installpdosqlsrv.sh.
#!/bin/bash |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test |
sudo apt-get update |
sudo -i export CPPFLAGS='-DSIZEOF_LONG_INT=8' |
sudo apt-get -y install gcc-5 g++-5 |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5 |
cd~ |
echo'Configuring the unixODBC 2.3.1 Driver Manager' |
wget ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-2.3.1.tar.gz |
tar -xzf unixODBC-2.3.1.tar.gz |
cd unixODBC-2.3.1/ |
./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --disable-gui --disable-drivers --enable-iconv --with-iconv-char-enc=UTF8 --with-iconv-ucode-enc=UTF16LE 1> odbc_con.log 2> make_err.log |
echo'Building and Installing the unixODBC 2.3.1 Driver Manager' |
sudo make 1> make_std.log 2> make_err.log |
sudo make install 1> makeinstall_std.log 2> makeinstall_err.log |
cd~ |
echo'Downloading the Microsoft ODBC Driver 13 for SQL Server - Ubuntu' |
wget 'https://meetsstorenew.blob.core.windows.net/contianerhd/Ubuntu%2013.0%20Tar/msodbcsql-13.0.0.0.tar.gz?st=2016-10-18T17%3A29%3A00Z&se=2022-10-19T17%3A29%3A00Z&sp=rl&sv=2015-04-05&sr=b&sig=cDwPfrouVeIQf0vi%2BnKt%2BzX8Z8caIYvRCmicDL5oknY%3D' -O msodbcsql-13.0.0.0.tar.gz |
tar -xzf msodbcsql-13.0.0.0.tar.gz |
cd msodbcsql-13.0.0.0/ |
echo'Installing Dependencies' |
sudo apt-get -y install libssl1.0.0 |
sudo apt-get -y install libgss3 |
sudo echo'/usr/lib64'>> /etc/ld.so.conf |
sudo ldconfig |
echo'Installing the Microsoft ODBC Driver 13 for SQL Server - Ubuntu' |
sudo bash ./install.sh install --force --accept-license |
cd~ |
echo'Compiling PHP driver' |
sudo apt-get -y install php7.0-dev |
wget https://github.com/Microsoft/msphpsql/archive/4.0.6-Linux.tar.gz |
tar -xzf 4.0.6-Linux.tar.gz |
cd msphpsql-4.0.6-Linux/source/pdo_sqlsrv/ |
phpize && ./configure CXXFLAGS=-std=c++11 && make |
sudo make install |
echo'Enabling Driver for php7.0-fpm and CLI' |
sudo bash -c 'echo -e '; configuration for php common module n; priority=10 nextension=pdo_sqlsrv.so' > /etc/php/7.0/mods-available/pdo_sqlsrv.ini' |
sudo ln -s /etc/php/7.0/mods-available/pdo_sqlsrv.ini /etc/php/7.0/fpm/conf.d/20-pdo_sqlsrv.ini |
sudo ln -s /etc/php/7.0/mods-available/pdo_sqlsrv.ini /etc/php/7.0/cli/conf.d/20-pdo_sqlsrv.ini |
cd~ |
echo'Cleaning up..' |
sudo rm -rf msphpsql-4.0.6-Linux/ |
sudo rm -rf unixODBC-2.3.1/ |
sudo rm -rf msodbcsql-13.0.0.0/ |
sudo rm 4.0.6-Linux.tar.gz |
sudo rm msodbcsql-13.0.0.0.tar.gz |
sudo rm unixODBC-2.3.1.tar.gz |
echo'All done, please be sure to test via the CLI & restart php7.0-fpm once complete.' |
php -i | grep 'PDO drivers' |
commented Apr 3, 2019
How to work this around for php 7.2. Will changing 7.0 to 7.2 work in this case. |
The example shows how tocompile the current github version of Monero, as of 03 Jan 2015,on Ubuntu 15.10 and 14.04.3 x64.
Dependencies (Ubuntu 15.10)
Before proceeding to the compilation, the following packages are required:
Dependencies (Ubuntu 14.04)
Before proceeding to the compilation, the following packages are required:
Compilation
Having the dependencies, we can download the current github Monero version and compile it as follows:
Installation
After successful compilation, the Monero binaries should be located in ./build/release/bin
as shownbelow:
I usually move the binaries into /opt/bitmonero/
folder. This can be done as follows:
Dev C Para Ubuntu 14.04 Os
This should result in:
Now we can start the Monero daemon, i.e. bitmonerod
, and let itdownload the blockchain and synchronize itself with the Monero network. After that, you can run your the simplewallet
.
Useful aliases (with rlwrap)
bitmonerod
and simplewallet
do not have tab-compliton nor history.This problem can be overcome using rlwrap.
With this, we can just start the daemon and wallet simply usingmoneronode
and monerowallet
commands. rlwrap
will providetab-complition and history for the monero programs.
Monero C++11 development (optional)
If you want to develop your own C++11 programs on top of Monero 0.9,Monero's static libraries and headers will be needed. Below is shownhow they can be setup for use to write your own C++11 programs basedon Monero. An example of such a program is access-blockchain-in-cpp.
Monero static libraries
When the compilation finishes, a number of static Monero librariesshould be generated. We will need them to link against.
Since they are spread out over different subfolders of the ./build/
folder, it is easier to just copy them into one folder. I assume that/opt/bitmonero-dev/libs
is the folder where they are going to be copied to.
This should results in the following file structure:
Monero headers
Now we need to get Monero headers, as this is our interface to theMonero libraries. Folder /opt/bitmonero-dev/headers
is assumedto hold the headers.
This should results in the following file structure:
Full /opt/bitmonero-dev/
tree is here.
Other examples
Dev C Para Ubuntu 14.04 Windows 7
Other examples can be found on github.Please know that some of the examples/repositotires are notfinished and may not work as intended.
Dev C Para Ubuntu 14.04 Version
How can you help?
Constructive criticism, code and website edits are always good. They can be made through github.
Dev C Para Ubuntu 14.04 Mac
Dev C Para Ubuntu 14.04 Laptop
Some Monero are also welcome:
Comments are closed.