LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-20-2016, 06:57 AM   #1
captainfreeky
LQ Newbie
 
Registered: Jun 2014
Distribution: Slackware 14.1 FreeBSD10.2
Posts: 15

Rep: Reputation: 2
Question [Help appreciated] How to install Verlihub (git) on freebsd 10.2


I want to shift totally from Debian to FreeBSD though I am a basic user if some one can help me guide how to install the application in jail running verlihub (git) and place the application on start up I would appreciate and make a note of things on how to (googling i cannot find info )
gcc >= 4.0 (use gcc --version to get the version number) Required ----------------> cd /usr/port/lang/gcc48; make install clean
make Required----------------> pkg install gmake
cmake >= 2.6 Required -----> pkg install cmake
MySQL >= 5.0 Required (mariadb server & client)-----------> pkg install mariadb1000-server
OpenSSL >= 0.9.8 Required by default on bsd
zlib Required by default on fbsd
PCRE Required ----------------------> pkg install PCRE
GeoIP Optional ----------------> pkg install GeoIP(version) ---> after finding from ports pkg search
gettext Required ----------------------> pkg install gettext
Lua >= 5.1 (for Lua plugin) Optional----------------> pkg install lua52
Python >= 2.5 (for Python plugin) Optional

Last edited by captainfreeky; 01-23-2016 at 06:29 AM.
 
Old 01-22-2016, 05:02 PM   #2
captainfreeky
LQ Newbie
 
Registered: Jun 2014
Distribution: Slackware 14.1 FreeBSD10.2
Posts: 15

Original Poster
Rep: Reputation: 2
getting this error any help now ?

CC=gcc48 CXX=g++48 cmake -DGETTEXT_DEVEL_INCLUDE_DIR:PATH=/usr/local/gcc-gettext/include -DGETTEXT_ASPRINTF_LIBRARY:FILEPATH=/usr/local/gcc-gettext/lib/libasprintf.so .
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/local/bin/gcc48
-- Check for working C compiler: /usr/local/bin/gcc48 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/local/bin/g++48
-- Check for working CXX compiler: /usr/local/bin/g++48 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Library directory: /usr/local/lib
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found version "1.0.1p")
-- Found Crypt: /usr/lib/libcrypt.so
-- Found MySQL: /usr/local/include/mysql, /usr/local/lib/mysql/libmysqlclient.so
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.8")
-- Looking for dlopen
-- Looking for dlopen - found
-- Found dlopen
-- Found PCRE: /usr/local/include, /usr/local/lib/libpcre.so;/usr/local/lib/libpcreposix.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- 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
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake/Modules/FindGettext.cmake:87 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:111 (Find_Package)

-- Configuring incomplete, errors occurred!
See also "/home/dchub/verlihub-1.0.0-master/CMakeFiles/CMakeOutput.log".
See also "/home/dchub/verlihub-1.0.0-master/CMakeFiles/CMakeError.log".
$ sudo CC=gcc48 CXX=g++48 cmake -DGETTEXT_DEVEL_INCLUDE_DIR:PATH=/usr/local/gcc-gettext/include -DGETTEXT_ASPRINTF_LIBRARY:FILEPATH=/usr/local/gcc-gettext/lib/libasprintf.so .
-- Library directory: /usr/local/lib
-- Found MySQL: /usr/local/include/mysql, /usr/local/lib/mysql/libmysqlclient.so
-- Found dlopen
-- Found PCRE: /usr/local/include, /usr/local/lib/libpcre.so;/usr/local/lib/libpcreposix.so
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake/Modules/FindGettext.cmake:87 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:111 (Find_Package)

-- Configuring incomplete, errors occurred!
See also "/usr/home/dchub/verlihub-1.0.0-master/CMakeFiles/CMakeOutput.log".
See also "/usr/home/dchub/verlihub-1.0.0-master/CMakeFiles/CMakeError.log".
 
Old 02-29-2016, 06:54 PM   #3
captainfreeky
LQ Newbie
 
Registered: Jun 2014
Distribution: Slackware 14.1 FreeBSD10.2
Posts: 15

Original Poster
Rep: Reputation: 2
## How to Install verlihub in FeeBSD 10.2 x64

## How to Install verlihub in FeeBSD 10.2



1. Installing sudo & bash

pkg install sudo

pkg install bash

pkg install gettext-0.19.7

2: Updating FreeBSD with

pkg update

pkg upgrade



3: To adduser & set bash as default, shell enter

add user to a sudoers while creating it

adduser


bash as default


chsh -s /usr/local/bin/bash {username}

eg :

chsh -s /usr/local/bin/bash root
chsh -s bash




4 . Installing git & cloning git repo

pkg install git


Where ever you clone ~ home folder

sudo git clone https://github.com/Verlihub/verlihub.git



5 .Installing rest of the things with pkg install * if you want to search use

pkg search packagename

Note : indicates rest of the files need for installation of verlihub which are mention below

- [x] cmake
- [x] gmake
- [x] gettext (already installed in point number 1 above)
- [x] GeoIP
- [x] MySQL or mariadb after installing there is no password for mysql or mariadb so set it with using command **`mysql_secure_installation`** make root pass and rest yes

Note :- mysql_secure_installation will work once you start mysql/mariadb
with command
sudo service mysql-server start

- [x] PCRE
- [x] Lua >= 5.1 with pkg name lua51


Note : zlib and openssl are there by default in freebsd10.2

Type the following command:

echo 'mysql_enable="YES"' >> /etc/rc.conf

or insert the line

mysql_enable="YES" in sudo nano /etc/rc.conf


6 . Installing Verlihub

cd ~/verlihub/build

create dir with

sudo mkdir build

cd Build

sudo cmake -DUSE_CUSTOM_AUTOSPRINTF=ON -DDEFINE_DEBUG=ON ..

sudo make

sudo make install
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't install Git repo (I don't git git ) Nemus Linux - Software 3 05-20-2011 02:09 PM
Verlihub addouns Padawan.AVT Linux - Server 0 12-12-2006 01:27 PM
VerliHub on Slackware? :-/ NightSoul Linux - Software 4 07-27-2006 05:46 PM
bcm43xx install problems (help appreciated) android6011 Linux - Software 5 06-02-2006 04:37 PM
Trying to install verlihub z9_87 Linux - Software 0 10-19-2005 05:20 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration