Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL bindings available in Python3 #3

Open
wants to merge 190 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
edfa5f5
Initial implementation of openssl support for quickfix lib.
karopawil Jul 6, 2014
1c3ee72
Work in progress. openssl functionality in quickfix lib.
karopawil Jul 7, 2014
439ff6b
Minor bug fixes
karopawil Aug 13, 2014
8159a67
Password callbacks implemented.
karopawil Aug 13, 2014
f0284a6
Compile fix for openssl 1.x
karopawil Aug 29, 2014
88d1616
Bug fixes in SSL implementation
karopawil Sep 5, 2014
a4feb09
Bug fix for large messages
karopawil Oct 5, 2014
f711fb3
Adding basic documentation for SSL functionality
karopawil Oct 14, 2014
a089bff
Merge remote-tracking branch 'upstream/master'
karopawil Oct 14, 2014
68ffae5
Fixed crashes on sparc
karopawil Mar 11, 2015
964e818
Remove duplicate code from postgres create.sh
Mar 13, 2015
4db307f
Fixing up the openssl configure script
karopawil Mar 13, 2015
3326fb0
Added ssl protocol and cipher suite options.
karopawil Mar 16, 2015
c53ce6c
Cleaning up code.
karopawil Mar 16, 2015
2d3cf9d
Adding example certs for 127.0.0.1.
karopawil Mar 16, 2015
441111c
Bug fix for checking if passed opt had a value or not.
karopawil Mar 16, 2015
68ee0d3
Modified a couple of examples for SSL.
karopawil Mar 16, 2015
1a359c0
Update executor.py
Mar 25, 2015
373bcdd
Bug fix for TLS v1 and v2 options
karopawil Jul 9, 2015
5e1158c
Time resolution patches
lasselj Mar 7, 2016
871eaad
Remove MSXML import on Windows. This allows multithreaded project com…
Mar 3, 2015
4940d4c
Fix issue in SocketConnection::processQueue() when socket_send() func…
Mar 3, 2015
abfb7fa
FIX::integer_to_string() function now doesn't null-terminate input bu…
Mar 3, 2015
94870fd
Resolve possible memory alignment issues in FIX::integer_to_string() …
Mar 3, 2015
f469c95
Function void FieldMap::removeGroup( int field ) should remove ALL in…
Mar 3, 2015
98eecad
Remove duplicate headerOrder[] definition in Message.h/.cpp
Mar 3, 2015
0dea13b
Resolve compile error in VS2015 due to invalid thread function pointe…
Feb 12, 2016
9a4055d
Look for data length field in message trailer as well. Throw InvalidM…
Feb 12, 2016
b97ebe9
Throw InvalidMessage exception during invalid field tag decoding and …
Feb 12, 2016
6339473
Resolve memory alignment issue in shared_array class on some platforms.
Feb 12, 2016
a54dddd
Use std::vector<> to store fields in FieldMap class instead of std::m…
Feb 13, 2016
35a564c
Don't parse message header twice during message decoding
Feb 16, 2016
a50b118
Use Florian's Loitsch "double-conversion" project for string <> doubl…
Feb 16, 2016
199c58e
Initial changes following code review
Jul 5, 2016
a23382c
General cleanup and reduced branching
Jul 5, 2016
67bc3f8
Resolve performance regression with message decoding when fields occu…
Aug 20, 2016
b45da60
Small tweaks in Message::toString() and Message::toXML() methods
Aug 21, 2016
a53136f
Improve FieldMap::sortFields() method by implementing FieldBase::swap…
Aug 24, 2016
e5979b6
Avoid double lookup
krzysztofwos Apr 20, 2015
57c17fa
Avoid double lookup
krzysztofwos Apr 20, 2015
ca35c0d
Fix a couple of typos.
da4089 Sep 5, 2016
a95d0ee
Use ExecType_TRADE in executor for FIX.4.2 and up
mgatny Nov 1, 2016
d4d79b2
Update README.SSL
karopawil Dec 13, 2016
b0c2b5f
Merge remote-tracking branch 'upstream/master'
karopawil Jan 23, 2017
240686d
Explicitly enabled Diffie–Hellman (DH) and Elliptic curve Diffie–Hell…
karopawil Jan 24, 2017
392ddeb
Windows compile problem fix.
karopawil Jan 24, 2017
0fe5b8a
A function was in the wrong place.
karopawil Jan 24, 2017
d4a2e79
Re-typedef FieldMap::g_iterator and FieldMap::iterator to be non-cons…
gregorycu Jan 31, 2017
4bd353a
1. Option to preserve fields order for outgoing messages.
karopawil Jan 31, 2017
9d22c67
Work in progress. Workshop 12.3 compile problems.
karopawil Feb 1, 2017
144ec41
AIX compile problem. Added a TODO to wxWidget shared ptr file.
karopawil Feb 1, 2017
98b5a4c
Fixed AIX compile problems.
karopawil Feb 2, 2017
d9dc9f9
Update README.AIX
karopawil Feb 2, 2017
5362a80
Disable unit tests on AIX and SUnOS..
karopawil Feb 2, 2017
607db1a
Fixed a typo
karopawil Feb 2, 2017
b7a3d5c
Bug fix - unit test build conditional.
karopawil Feb 2, 2017
bb7617a
Some information related to SunOS.
karopawil Feb 2, 2017
a2533dc
Fixed install/compile problems on SunOS.
karopawil Feb 2, 2017
40c3aaa
Added the option to not use -std=c++0x flag. Not using gcc compile op…
karopawil Feb 2, 2017
8ed6dbd
Not using gcc compile options with AIX anymore
karopawil Feb 2, 2017
0058428
Update README
karopawil Feb 3, 2017
47d1ef8
SSL related changes from another branch plus reformattign fo some files.
karopawil Feb 3, 2017
677dbf8
Additions for EMX platform.
karopawil Feb 3, 2017
36c9425
Strange behaviour on Windows 64 bit build. If I do not do this, there…
karopawil Feb 9, 2017
abd19f2
Replace the value instead of throwing an exception.
karopawil Feb 9, 2017
6f57bdc
Update README
karopawil Feb 9, 2017
2b7dc56
Update README
karopawil Feb 9, 2017
0d0fe67
I do not know why this has to be done on Windows (64 bit).
karopawil Feb 9, 2017
8d0d7da
Merge branch 'master' of https://github.com/karopawil/quickfix
karopawil Feb 9, 2017
c756bdd
Fix generation of session id for ruby 2.0
Mar 24, 2017
e485016
Fix generation of NPE instead of FieldConvertError
Mar 24, 2017
e9fb501
Protext m_connected with the mutex
gregorycu May 28, 2017
f225e96
Merge remote-tracking branch 'upstream/master'
karopawil Jun 10, 2017
efedd73
Compile fix for EMX build.
karopawil Jun 13, 2017
92f5b83
Merge branch 'master' of https://github.com/karopawil/quickfix
karopawil Jun 13, 2017
c008380
Fixed UnitTest++ compiler label in solution.
orenmnero Aug 8, 2017
8be5ab9
Initial implementation of functionality to have arbitrary precision (…
karopawil Aug 21, 2017
949565a
Fixed a stupid msitake
karopawil Aug 21, 2017
8382117
Updating README
karopawil Aug 21, 2017
4ea3a35
1. Added functionality to resolve references to environment variables…
karopawil Aug 22, 2017
3d640c1
Merge branch 'master' of git://github.com/quickfix/quickfix
karopawil Aug 22, 2017
c3ff747
Bug fixes:
karopawil Aug 24, 2017
8192b62
Updating configuration documentation.
karopawil Aug 28, 2017
746a300
Consolidating SSL implementation code so that non Threaded- SSL varia…
karopawil Aug 30, 2017
5ff1540
Bug fix in send plus minor changes.
karopawil Aug 31, 2017
896f9f6
Initial implementation of non Threaded- SSL classes.
karopawil Aug 31, 2017
8c224e0
Removinf unnecessary includes.
karopawil Aug 31, 2017
a5ac0cd
Simplified and removed duplicate code.
karopawil Aug 31, 2017
66841cf
Added SSL* file names.
karopawil Aug 31, 2017
a4b1af3
Openssl related compile fixes for AIX and Solaris.
karopawil Sep 5, 2017
1e215f5
Fixed link version for unit test library in vs15.
orenmnero Oct 11, 2017
ee93c61
Merge pull request #70 from ccsalway/patch-1
orenmnero Oct 11, 2017
ca68a64
Merge pull request #68 from andradei/patch-1
orenmnero Oct 11, 2017
adadd40
Supports recursive component generation.
Oct 11, 2017
18aaf85
Merge pull request #130 from alex-savchuk/minor_quickfix_changes
orenmnero Oct 11, 2017
d542fd1
Merge pull request #118 from mgatny/wrong_exectype
orenmnero Oct 11, 2017
a04c492
Merge pull request #108 from krzysztofwos/avoid-double-lookups
orenmnero Oct 11, 2017
587f350
Merge pull request #122 from gregorycu/NonConstIterators
orenmnero Oct 11, 2017
debe9ef
Only link mysql library if mysql found.
Oct 12, 2017
66ad6e1
Merge branch 'master' of https://github.com/Ambal/quickfix into Ambal…
Oct 12, 2017
cd6f7a5
Merge branch 'Ambal-master'
Oct 12, 2017
72600cc
Removed obsolete visual studio files.
Oct 12, 2017
3c7bdba
Update auto_ptr -> unique_ptr and interfaces
joncinque Oct 18, 2017
8332896
Fixups to run python2 unit tests
joncinque Oct 18, 2017
ae06ff2
Add python3 support for QuickFIX as separate files
joncinque Oct 23, 2017
2121ee7
Revert unique_ptr use, back to auto_ptr
joncinque Oct 23, 2017
445f315
Fixup autoconf for python3
joncinque Oct 23, 2017
af7f69c
Split interface file to support Python 2 and 3
joncinque Oct 23, 2017
92aa947
Revert unneeded changes in C++
joncinque Oct 23, 2017
377b752
std::shared_ptr was changed to ptr:shared_ptr via 94e8836c4074a93b154…
DavidCalabrese Oct 23, 2017
52e401d
More descriptive error message for missing Components
DavidCalabrese Oct 23, 2017
c439fea
Use boost::shared_ptr if std, or std::tr1 is not avail.
DavidCalabrese Oct 24, 2017
63414be
Add <#include config.h> to resolve compile errors
DavidCalabrese Oct 26, 2017
2053196
Removed unsupported compile option '-Wno-overloaded-virtual'
DavidCalabrese Oct 26, 2017
f248d10
Resolve build issue with "double-conversion" project on some C++ comp…
Oct 30, 2017
37610d8
Consolidate files for easier package maintenance
joncinque Nov 2, 2017
28e0fee
Fix test file names for python3 testing
joncinque Nov 5, 2017
2b451b1
Specify python 2 explicitly in configure.
Nov 6, 2017
063f0be
Define HAVE_PYTHON2 and HAVE_PYTHON3 when found.
Nov 6, 2017
5023815
Force symlinks to be created after we have linked python library.
Nov 26, 2017
06c616b
Merge branch 'joncinque-py3_support'
Nov 26, 2017
fe13cae
Regenerate ruby swig code.
Nov 26, 2017
7a89252
Can build python2 and python3 at the same time.
Nov 27, 2017
63ab603
Merging changes from quickfix msater.
karopawil Dec 1, 2017
2aded1b
Add AllowUnknowMsgFields options to c++ library
Dec 5, 2017
37c59a0
Update 4.4 test to use 4.4 instead of 4.3
joncinque Dec 6, 2017
4c4b2c7
Fixed AIX and Solaris compile problems.
karopawil Dec 7, 2017
3814169
Syncing with upstream.
karopawil Dec 7, 2017
79f6114
Added a few tests for microsecond precision in timestamps.
karopawil Dec 7, 2017
1cf0105
Allow custom data fields to be decoded in message header and trailer.…
Dec 14, 2017
d431499
Regenerate with latest swig.
Dec 17, 2017
0674491
Safer and maybe faster.
karopawil Jan 15, 2018
7d46edc
Default value was incorrect.
karopawil Jan 17, 2018
fb644f6
Better handling of timestamp scale.
karopawil Jan 17, 2018
99096c0
Merge remote-tracking branch 'upstream/master'
karopawil Jan 17, 2018
fcc1892
Work in progress - cmake stuff.
karopawil Jan 28, 2018
0520811
ut was not being built with the tests.
karopawil Jan 28, 2018
6df2586
Build atrun
karopawil Jan 28, 2018
01b7e1c
Correct handling of openssl libs.
karopawil Jan 28, 2018
9626729
Add applink on Windows when linking with openssl.
karopawil Jan 28, 2018
bfcece3
More cmake related work.
karopawil Jan 28, 2018
f5fdbbe
More cmake related work, learning.
karopawil Jan 28, 2018
529fe63
Fixed compile problem on solaris.
karopawil Jan 28, 2018
9bd2125
More cmake related work.
karopawil Jan 29, 2018
3be15d1
Cmake related work for windows builds.
karopawil Jan 29, 2018
a5e76b4
Added postfix d to windows debug builds. Added option HAVE_EMX. Added…
karopawil Jan 29, 2018
846c80c
Adding limited info related cmake.
karopawil Jan 29, 2018
769d80d
Cleanup of cmake files.
karopawil Feb 1, 2018
c468b1f
More cmake build related changes.
karopawil Feb 5, 2018
29a6ecb
Added shared ptr check.
karopawil Feb 7, 2018
4207124
Set PYTHON_NAJOR_VERSION for python2 and python3 separately.
Feb 12, 2018
e5cf3d2
Changed port for tests.
Feb 12, 2018
f0f8b91
Merge pull request #166 from joncinque/testupdate44
orenmnero Feb 12, 2018
2c7df8f
Merge pull request #165 from EclipseTrading/feature/c++_allow_unknow_…
orenmnero Feb 12, 2018
42534f4
Add python tests to makefile.
Feb 12, 2018
363e367
Merge branch 'master' of https://github.com/quickfix/quickfix
Feb 12, 2018
8d1cffb
Ignore test logs.
Feb 12, 2018
44089a5
Merge branch 'master' of https://github.com/lasselj/quickfix into las…
Feb 12, 2018
16b23ab
Merge branch 'lasselj-master'
Feb 12, 2018
b5e547f
Merge pull request #109 from da4089/patch-1
orenmnero Feb 12, 2018
485e340
Convert STIRNG to STRING when converting spec.
Feb 12, 2018
4649c58
Merge branch 'master' of https://github.com/quickfix/quickfix
Feb 12, 2018
ac49425
Moved some of the platform related stuff to QuickfixPlatformSettings.…
karopawil Feb 15, 2018
1645db9
Terminate child process with trap.
Feb 20, 2018
60b391a
Merge branch 'master' of https://github.com/DavidCalabrese/quickfix i…
Feb 20, 2018
54d2a9d
Merge branch 'DavidCalabrese-master'
Feb 20, 2018
52954f7
Merge branch 'master' of https://github.com/Ambal/quickfix
Feb 20, 2018
f5efb16
Merge pull request #161 from Ambal/master
orenmnero Feb 20, 2018
5c7ee96
Merge branch 'master' of https://github.com/quickfix/quickfix
Feb 20, 2018
5a9e742
Merge pull request #139 from gregorycu/ThreadsafeInitiatorStop
orenmnero Feb 20, 2018
4e43d32
Merge branch 'master' of https://github.com/quickfix/quickfix
Feb 20, 2018
3df285c
Fix version mismatches in visual studio project files.
orenmnero Feb 20, 2018
779cf30
Fix bug where converting UTC date went beyond 8 char limit.
orenmnero Feb 20, 2018
b95d356
Remove warnings for deprecated winsock calls.
orenmnero Feb 20, 2018
00d205f
Merge branch 'master' of https://github.com/quickfix/quickfix
Feb 20, 2018
e32bd6b
Turn off auto_ptr deprecated warning since we can't get rid of it due…
Feb 20, 2018
1a54296
Make errorToWhat static so it can be called before object is construc…
Feb 20, 2018
730f538
Merge branch 'master' of https://github.com/karopawil/quickfix into k…
Feb 21, 2018
c6755a9
Regenerated swig.
Feb 27, 2018
c57e545
Organized source files in vs14 and vs15 project.
orenmnero Feb 27, 2018
f67bde0
Merge branch 'master' of https://github.com/quickfix/quickfix
orenmnero Feb 27, 2018
22049dd
Timestamps are constructed with precision instead of showMilliseconds.
Feb 27, 2018
f2044c4
Merge branch 'master' of https://github.com/quickfix/quickfix
orenmnero Feb 27, 2018
0c41422
Fix include paths for examples.
orenmnero Feb 27, 2018
7493646
Fix include path for examples under *nix.
Feb 27, 2018
4aff38d
Cast entire value when converting to seconds.
Feb 27, 2018
ddf4839
Fixed comment to indicate storage of nanoseconds.
Feb 27, 2018
5825201
Fixed ruby test.
Mar 12, 2018
35fb058
Merge remote-tracking branch 'upstream/master'
joncinque Mar 13, 2018
c572fd0
Add Postgres bindings for Python3
joncinque Mar 16, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,14 @@ test/ut_debug
test/cfg
test/store
autom4te.cache/
lib/python
lib/python2
lib/python3
COPYING
INSTALL
*.db
.vs
.vs
core
*.pyc
\#*#
*.log
*.trs
83 changes: 83 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)

option(HAVE_EMX "Build with EMX")

if(HAVE_EMX)
message("-- Building with EMX")
add_definitions("-DHAVE_EMX=1")
set (quickfix_PROJECT_NAME quickfix-emx)
else()
set (quickfix_PROJECT_NAME quickfix)
endif()

project(${quickfix_PROJECT_NAME} VERSION 0.1 LANGUAGES CXX C)
message("-- Project name ${CMAKE_PROJECT_NAME}")

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")

include(QuickfixPlatformSettings)

# Call cmake with-DHAVE_SSL=ON to compile with SSL. Similarly for others.
option(HAVE_SSL "Build with SSL")
option(HAVE_MYSQL "Build with MySQL")
option(HAVE_POSTGRESQL "Build with PostgreSQL")


#Make sure that a previous config.h has not undefined HAVE_SSL
if(HAVE_SSL)
# Can set location explicitly, example, cmake -DOPENSSL_ROOT_DIR=/usr/local/ssl -DOPENSSL_LIBRARIES=/usr/local/ssl/lib

find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIR})

message("-- OPENSSL_INCLUDE_DIR: ${OPENSSL_INCLUDE_DIR}")
message("-- OPENSSL_LIBRARIES: ${OPENSSL_LIBRARIES}")
message("-- OPENSSL_ROOT_DIR: ${OPENSSL_ROOT_DIR}")

message("-- Building with SSL")
add_definitions("-DHAVE_SSL=1")
endif()

if(HAVE_MYSQL)
find_package(MySQL REQUIRED)
include_directories(${MYSQL_INCLUDE_DIR})

message("-- Building with MySQL")
add_definitions("-DHAVE_MYSQL=1")
endif()

if(HAVE_POSTGRESQL)
find_package(PostgreSQL REQUIRED)
include_directories(${PostgreSQL_INCLUDE_DIRS})

message("-- Building with POSTGRESQL")
add_definitions("-DHAVE_POSTGRESQL=1")
endif()

include(FindSharedPtr)
FIND_SHARED_PTR()
if (HAVE_SHARED_PTR_IN_STD_NAMESPACE)
message("-- set HAVE_STD_SHARED_PTR")
add_definitions("-DHAVE_STD_SHARED_PTR=1")
elseif(HAVE_SHARED_PTR_IN_TR1_NAMESPACE)
message("-- set HAVE_STD_TR1_SHARED_PTR")
add_definitions("-DHAVE_STD_TR1_SHARED_PTR=1")
elseif(HAVE_SHARED_PTR_IN_TR1_NAMESPACE_FROM_TR1_MEMORY_HEADER)
message("-- set HAVE_STD_TR1_SHARED_PTR_FROM_TR1_MEMORY_HEADER")
add_definitions("-DHAVE_STD_TR1_SHARED_PTR_FROM_TR1_MEMORY_HEADER=1")
else()
message("-- shared_ptr not found.")
endif()

if( WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
add_subdirectory(UnitTest++)
endif()

add_subdirectory(src)
add_subdirectory(examples)
if( WIN32)
add_subdirectory(test)
endif()

install(DIRECTORY ${CMAKE_SOURCE_DIR}/spec/ DESTINATION share/quickfix
FILES_MATCHING PATTERN "FIX*.xml")
6 changes: 5 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#Disable unit tests on Solaris, AIX
if NO_UNIT_TEST
SUBDIRS = src bin spec test examples doc
else
SUBDIRS = UnitTest++ src bin spec test examples doc
endif

ACLOCAL_AMFLAGS = -I m4

Expand All @@ -9,4 +14,3 @@ pkgconf_DATA = quickfix.pc

generate:
cd spec && bash generate.sh

51 changes: 51 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
This is a fork to meet my requirements. If you have no specific requirements fulfilled by this fork, then it would be better to use the original. It may be of interest when:

1. SSL connections are required.

2. SunOS or AIX are platforms of interest.

3. Order of fields/tags for outgoing messages is important (configurable, not on by default).

4. There is also some EMX platform related functionality which can be enabled through
a compile flag.

5. Arbitrary precision (upto nanoseconds) timestamps need to be handled.

BUILDING AND INSTALLING

Full instructions:
See doc/html/building.html

Quick instructions:
./bootstrap
./configure
make
make check
sudo make install


For SunOS and AIX have a look at README.SunOS and README.AIX.

--------------------------------------------------------------------

It is possible to build many components with a relatively newer version of cmake.


For example on Windows,

mkdir build
cd build
cmake -DHAVE_SSL=ON -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX:PATH="install-path" -DOPENSSL_ROOT_DIR="path to openssl" ..
Then build in Visual Studio or on command prompt.


On Linux (with system openssl),

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHAVE_SSL=ON -DCMAKE_INSTALL_PREFIX:PATH="install-path" ..
make -j 4 install


If one has Ninja then (with system openssl),

cmake -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHAVE_SSL=ON -DCMAKE_INSTALL_PREFIX:PATH="install-path" ..
ninja install
24 changes: 24 additions & 0 deletions README.AIX
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
I was able to get the 64 bit version of QuickFIX library to compile on AIX 6100-09-05-1524 with IBM XL C/C++ for AIX, V12.1.
Unit tests do not compile so these were disabled.

Also, for building please refer to
https://www.ibm.com/support/knowledgecenter/SSGH3R_13.1.0/com.ibm.xlcpp131.aix.doc/proguide/threadsafe_streams.html
as this may have an impact on your application (like examples).

Example script:

#!/bin/sh

cflagx="-q64 -D_THREAD_SAFE -qthreaded"
cxxflagx="-q64 -D_THREAD_SAFE -qthreaded -D__IBMCPP_TR1__=1"
ldflagx="-q64 -D_THREAD_SAFE -qthreaded"

OBJECT_MODE=64
export OBJECT_MODE

./bootstrap

CC=xlc_r CXX=xlC_r CFLAGS=$cflagx CXXFLAGS=$cxxflagx LDFLAGS=$ldflagx configure --prefix="Your prefix"

make && make install

Loading