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

sadkjfas #2

Open
wants to merge 231 commits into
base: GT-866_installing_bug
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
231 commits
Select commit Hold shift + click to select a range
ede1444
#GT-881: added log file creation and permission setting
zmm Mar 17, 2013
9b2f8de
#GT-867: fixed wrong request in QueryExecutor::getUser, which caused …
zmm Mar 18, 2013
f910d3f
#GT-872: fixed
zmm Mar 19, 2013
9ef89e6
#GT-873: fixed owned request
zmm Mar 20, 2013
c8407e4
#GT-878: fixed
zmm Mar 21, 2013
b050166
#GT-858: fixed single-lite.sh + fixed subscribed channels
zmm Mar 22, 2013
7caff52
#GT-887: fixed - now when security disabled only login is checked
zmm Mar 28, 2013
d31e74f
fixed usage of QueryExecutor in ProcessorsCore
zmm Mar 29, 2013
e483cd9
#GT-883: fixed
zmm Mar 29, 2013
f6e14a8
#GT-890: fixed subscribe and unsubscribe queries processors
zmm Mar 30, 2013
4de78d1
#GT-889: fixed
zmm Apr 1, 2013
8d51886
#GT-891: fixed
zmm Apr 1, 2013
3b253e3
#GT-893: refactored
zmm Apr 3, 2013
e8f5f3e
#GT-892: added session_life_time parameter to config
zmm Apr 3, 2013
a1c43a1
#GT-894: fixed
zmm Apr 3, 2013
425362e
#GT-855: refactored filter channel request
zmm Apr 5, 2013
919444c
#GT-895: fixed
zmm Apr 7, 2013
9e9cf5f
#GT-896: fixed
zmm Apr 7, 2013
3836a05
android tracker builds and work
zmm Apr 8, 2013
535981d
#GT-897: added request for changing db, to which server is connected
zmm Apr 14, 2013
813e3a7
added demo app. crashing on startup during LoginQuery creation
zmm Apr 15, 2013
2247897
fixed bug with fail at startup
zmm Apr 16, 2013
8951302
added functionality
zmm Apr 16, 2013
d820a07
fixed http_requests and added new functionality to the demoApp
zmm Apr 17, 2013
fb6da6a
fixed minor bugs + ui improved
zmm Apr 18, 2013
cee60c0
fixed bug in DefaultQuery
zmm Apr 18, 2013
0c8680c
added check for response emptyness
zmm Apr 18, 2013
5a247e6
uncommited change
zmm May 7, 2013
4ddf66b
added tag sorting in filter and loadTags
zmm May 15, 2013
ad9ec8a
added tag sorting in filter and loadTags
zmm May 15, 2013
934c360
#GT-913: added tag_number parameter
zmm May 21, 2013
4282ce1
#GT-914: added logic for many DB support
zmm May 28, 2013
3f284d2
#GT-914: tested, added ability to pass "default" as db_name to restor…
zmm May 29, 2013
b92edcd
#GT-899: added tests for setDb
zmm Jun 13, 2013
0766113
#GT-912: added unique constraint for channel table
zmm Jun 13, 2013
b700265
#GT-919: fixed case sensivitines in many sql requests
zmm Jun 15, 2013
0eea221
#GT-935: fixed bug with special symbols
zmm Jun 28, 2013
1e2ce83
added test for GT-935
zmm Jun 28, 2013
3c4029b
test for GT-935 was made more general
zmm Jun 28, 2013
4d1a9b5
#GT-940: added build depends
zmm Jul 2, 2013
595fce6
added debug output to test
zmm Jul 2, 2013
037cf96
#GT-956: fixed
zmm Jul 8, 2013
cfb12c3
#GT-951: added script for db creation
zmm Jul 8, 2013
cfde7f7
#GT-958: added script for adding users to services db
zmm Jul 12, 2013
bd3da36
removed dependency from MetaCache in Json
zmm Jul 17, 2013
d8cb6ef
submodule modified
zmm Jul 17, 2013
3e15f0b
#ADMIN-12: updated bin/apply_repo_updates.sh permission
zmm Jul 17, 2013
73dffa5
fix for apply_repo_updates.sh
zmm Jul 17, 2013
aefcbc9
#ADMIN-15: added tests for common
zmm Jul 20, 2013
2097755
#ADMIN-15: fixed json tests
zmm Jul 20, 2013
9a45dd7
fixed tests itself for xml producing
zmm Jul 20, 2013
e07bcad
try to change format of unit tests output
zmm Jul 20, 2013
c4c3faa
try to change format of unit tests output
zmm Jul 20, 2013
d547392
moved back to xml
zmm Jul 20, 2013
f822ca8
#GT-533: fixed
zmm Jul 21, 2013
c3f3205
Merge branches 'devel' and 'devel' of https://github.com/geo2tag/core…
Jul 26, 2013
e0552fa
fixed src.pro
zmm Jul 26, 2013
022f298
test commit with unit test fail
zmm Jul 26, 2013
715332a
#GT-960: fixed filters && refactored integration tests
zmm Jul 26, 2013
ea1b9f9
Merge branches 'devel', 'devel', 'devel', 'devel', 'devel' and 'devel…
Jul 26, 2013
f8b7205
GT-961 pulse testing debugging
krinkin Jul 26, 2013
e0563b6
GT-961 pulse testing debugging
krinkin Jul 26, 2013
63a8c01
GT-961 pulse testing debugging
krinkin Jul 26, 2013
b8cef77
GT-961 pulse testing debugging
krinkin Jul 26, 2013
ffb2192
GT-961 pulse testing debugging
krinkin Jul 26, 2013
0827bbf
GT-961 pulse testing debugging
krinkin Jul 26, 2013
e180c55
GT-961 pulse testing debugging
krinkin Jul 26, 2013
cf153ea
GT-961 pulse testing debugging
krinkin Jul 26, 2013
272aec8
GT-961 pulse testing debugging
krinkin Jul 26, 2013
f28b6a8
GT-961 pulse testing debugging
krinkin Jul 26, 2013
0210b06
GT-961 pulse testing debugging
krinkin Jul 26, 2013
fdc659e
#GT-962: fixed bug with time to utc conversion
zmm Jul 29, 2013
6732563
Merge branch 'devel' of github.com:geo2tag/core into devel
zmm Jul 29, 2013
71d0923
#ADMIN-19: done
zmm Jul 29, 2013
2a52efe
merged demoApp
zmm Aug 2, 2013
c49d830
#ADMIN-20: submodules updated
zmm Aug 26, 2013
5f1ddf6
fixed bad version of package
zmm Aug 26, 2013
1771d44
scripts for remote work changed
zmm Aug 26, 2013
0d9de1a
#CSFTC-4: added alterChannel request
zmm Sep 5, 2013
66c794c
fixed default credentials
zmm Sep 8, 2013
2c1c3a2
#GT-966:starting refactoring of two factor registration script
zmm Sep 15, 2013
611e3d8
#GT-966: refactoring finished
zmm Sep 16, 2013
a9a91ff
#GT-969: renamed register.html to register.php
zmm Sep 17, 2013
2ba8874
missing file
zmm Sep 17, 2013
0822261
#GT-970: added recaptcha
zmm Sep 17, 2013
5234de1
fixed layout
zmm Sep 17, 2013
351ecd2
added setdbquery class
Sep 17, 2013
bab1139
fixed registration form layout
zmm Sep 18, 2013
5a5be38
#GT-971: recaptcha replaced for secureimage
zmm Sep 20, 2013
34cb42c
added age restriction for the registration
krinkin Sep 20, 2013
b36c929
registration page appearence changed to fit mobile devices
krinkin Sep 20, 2013
fa4c654
#GT-972: fixed unit tests
zmm Sep 23, 2013
a81bd65
Merge branch 'devel' of github.com:geo2tag/core into devel
zmm Sep 23, 2013
7a5e40b
submodule updated
zmm Sep 26, 2013
14b64c9
submodules updated
zmm Sep 26, 2013
078e67f
#GT-976: added json classes
zmm Sep 30, 2013
02cb0ac
#GT-973: added realization of changePassword request logic
zmm Sep 30, 2013
834ef92
#GT-973: integration tests added
zmm Sep 30, 2013
c40c488
#GT-973: missed files
zmm Sep 30, 2013
463b594
renamed registration/ dir and some files in it
zmm Oct 1, 2013
61856c1
#GT-974: page for password changing added
zmm Oct 1, 2013
73570d1
#GT-976: added global usage of masterdb user accounts in all services
zmm Oct 1, 2013
692e6fe
#GT-979: first draft for backup system
krinkin Oct 2, 2013
da30180
#GT-979: added check_backup.sh script and fixed a bit backup.sh
zmm Oct 4, 2013
e9900fb
fixed server address in change_password.html
krinkin Oct 4, 2013
7daf6d0
submodule updated
krinkin Oct 4, 2013
631d103
added case insensitivenes in change password request
zmm Oct 4, 2013
031a8d4
submodule updated
zmm Oct 4, 2013
c174520
Merge branch 'devel' of github.com:geo2tag/core into devel
zmm Oct 4, 2013
73e3cc1
fixed password fields at change_password.html
zmm Oct 4, 2013
8368a33
submodule updated
zmm Oct 7, 2013
f0d8bd1
submodule updated
zmm Oct 7, 2013
0abebb3
modified auto
zmm Oct 7, 2013
8fbe0c4
modified auto
zmm Oct 7, 2013
60b7a13
test commit
zmm Oct 8, 2013
60cac99
test commit 2
zmm Oct 8, 2013
d81f724
test commit 3
zmm Oct 8, 2013
fd75ad1
test commit 1
zmm Oct 8, 2013
f9e9407
added scripts for password reset and little refactoring done at db_in…
zmm Oct 9, 2013
bcc66c4
#GT-978: added scripts for password reset
zmm Oct 9, 2013
9c7764b
#ADMIN-30: fixed script for backup
krinkin Oct 10, 2013
e655adc
auto updated
krinkin Oct 10, 2013
51f1319
added new requests for db_interaction.php
zmm Oct 12, 2013
14edd08
Merge branch 'devel' of github.com:geo2tag/core into devel
zmm Oct 12, 2013
eb1a409
added account_managment.html web page
zmm Oct 13, 2013
3dc5028
spelling fixed
zmm Oct 13, 2013
f61dc46
conflict resolved
zmm Oct 24, 2013
7582e54
#GT-984: added dsl class templates + stubproject
zmm Oct 30, 2013
5c83007
#GT-984: templates moved to separated dir
zmm Oct 30, 2013
a0dfc76
#GT-985: added classes for dsl
zmm Nov 4, 2013
3c78d84
demoApp fix
zmm Nov 4, 2013
b4497fa
removed second settingsStorage initialization
zmm Nov 4, 2013
911c0bb
#GT-985: buildable projects are generated
zmm Nov 4, 2013
938bd70
fixies for dsl stubproject
zmm Nov 4, 2013
b5a5e49
#GT-987:version updated
zmm Nov 8, 2013
228d5e6
#GT-987: fix for the changelog
zmm Nov 8, 2013
f49ab4b
0.26 version
zmm Nov 8, 2013
68dea4a
VERSION updated
zmm Nov 8, 2013
c8b98e1
Merge branch 'devel'
zmm Nov 8, 2013
61e5e8c
version updated to 0.29
zmm Nov 11, 2013
1a075aa
Merge branch 'devel'
zmm Nov 11, 2013
f6ba3c4
#GT-991: now map widget is just view
zmm Nov 18, 2013
19a4eec
#GT-997: fixed
zmm Nov 28, 2013
b5ff914
added map acitivity transition button
zmm Nov 29, 2013
b7999eb
#GT-992: added authentification gui
zmm Nov 29, 2013
306f49e
sources and headers moved in separated folders
zmm Nov 30, 2013
de18f5c
added missing file
zmm Nov 30, 2013
0536a67
#GT-968: user_managment scripts added to the deb
zmm Nov 30, 2013
46ba474
#GT-947: added checks into writeTag json request + extra debug output
zmm Dec 2, 2013
7ee75c5
#GT-1002: added unit test
zmm Dec 2, 2013
694279c
fixed wrong variable name at map.html
zmm Dec 6, 2013
815cf5b
#GT-1004 found
zmm Dec 6, 2013
078357e
fixed bug with wrong map acivity name
zmm Dec 7, 2013
f3480cc
#GT-998: added general map activity interface + different maps tested
zmm Dec 7, 2013
aac62d2
fix in testconfig
zmm Dec 7, 2013
4b8d1f4
#GT-1005: added json classes and tests for them
zmm Dec 9, 2013
15b8f2d
#GT-1005: missed files
zmm Dec 9, 2013
656c47a
#GT-1005: added FilterSubstring request processor
zmm Dec 9, 2013
d5e6d50
#GT-1005: minor fixies
zmm Dec 9, 2013
f32f1e1
#GT-1005: added test to single.sh
zmm Dec 9, 2013
b2815c8
#GT-980: wrapped pg_query_params into transaction
zmm Dec 10, 2013
cf1fdbc
#GT-1006: updated changelog entry
zmm Dec 11, 2013
2b0ed44
Merge branch 'devel'
zmm Dec 11, 2013
fd995c9
#GT-1000: created automatic unit tests generation
zmm Dec 16, 2013
2910f1c
#GT-1015: fixed
zmm Dec 16, 2013
22233d9
Merge branch 'geo2tag_dsl' into devel
zmm Dec 16, 2013
73509f9
fixed dsl name in binary
zmm Dec 18, 2013
20f8fab
#GT-1020: added /testapp/test/src/org/geo2tag/stubproject/test/ gener…
zmm Dec 18, 2013
7994ccf
#GT-1021: fixed bug with comment symbol
zmm Dec 18, 2013
4be522e
added correct project.properties file to stubproject
zmm Dec 18, 2013
5d5d0dc
another missed file
zmm Dec 18, 2013
0ab694b
#GT-986: small refactoring at src/json
zmm Dec 23, 2013
7fbdb56
fixed old names of SubscribeChannelRequestJSON
zmm Dec 24, 2013
fadbf8e
fixed missing header
zmm Dec 24, 2013
7365a97
add new response WriteTagResponseJSON with new field guid
Dec 27, 2013
ab3a7c1
added unit test for checking work of WriteTagResponseJSON class
Dec 29, 2013
f597bd3
Added static method getGuid to DbObjectsCollection class and unit tes…
Dec 29, 2013
833f56f
Added new method checkBinaryTag to Tag class (2 types of Tag: TAG_BIN…
Dec 29, 2013
a8ab582
Added new 2 classes SetBlobRequestJSON and SetBlobResponseJSON and cr…
Dec 30, 2013
d86a33e
Added new class RiakInteractor for working with Riak
Jan 3, 2014
657f774
Added new logic into processWriteTagQuery - if Tag is binary, then se…
Jan 3, 2014
1db15fb
Added new 2 classes GetBlobRequestJSON and GetBlobResponseJSON and cr…
Jan 19, 2014
4a2bd5f
Added new 2 classes GetBlobRequestJSON and GetBlobResponseJSON and cr…
Jan 19, 2014
1bb64a2
Added new 2 classes GetBlobRequestJSON and GetBlobResponseJSON and cr…
Jan 19, 2014
dbb2f41
Methods from class RiakInteractor are changed(now without std::string…
Jan 25, 2014
eeb288d
added SQL query to get Tag's ChannelName by GUID which called getTags…
Jan 25, 2014
2cedc50
added new methods into class MetaCache: addBlobToRiakBD and getBlobFr…
Jan 25, 2014
ec52324
now Tag is BINARY_TAG if field description instead of field label con…
Jan 27, 2014
9a46a6c
now Tag is BINARY_TAG if field label instead of field description con…
Jan 27, 2014
82a9a7a
added simple tests for new requests
Jan 30, 2014
20b4eae
changed GUID - now without - in the middle; added better tests - firs…
Jan 30, 2014
5fc6f5c
added strings about riak to geo2tag.conf.template file and changed Ri…
Feb 5, 2014
c83961c
latest changes
Feb 6, 2014
e5b53c7
Replace ssmtp by mail-transport-agent
Feb 7, 2014
9336fe2
added riak library with its building
Feb 12, 2014
55bb42c
added riak library with its building
Feb 12, 2014
5686d55
small changes in debian/control
Feb 12, 2014
2afa59b
remove file from libriak
Feb 12, 2014
15fe08e
building with local riak library
Feb 14, 2014
5e08d05
#GT-1046: fixed
zmm Feb 15, 2014
8bc7ccc
building with local riak library, GT-1047 fixed
Feb 16, 2014
3c489f6
building with local riak library, GT-1047 fixed
Feb 16, 2014
13ad117
#GT-1048: fixed
zmm Feb 17, 2014
c0cebbe
deb package can be build
Feb 18, 2014
4e3a1f1
geo2tag+riak
Feb 19, 2014
a713eeb
added missed file configure
Feb 19, 2014
339ed11
added libqjson-dev 0.8.1-3 amd64
Feb 20, 2014
5bdda2b
added missed -lpq
Feb 20, 2014
a3cde21
fixed depends for qjson
Feb 23, 2014
792457a
added starting riak
Feb 24, 2014
8d7c82a
removed extra file
Feb 27, 2014
3980515
riak_blobs merged
zmm Mar 5, 2014
5f7efed
#GT-1053: devug output added
zmm Apr 1, 2014
369d9aa
GT-1053
krinkin Apr 28, 2014
7c489f6
#GT-1053: added subdir path
zmm May 1, 2014
0bb0ec6
changelog fixed
zmm May 1, 2014
85a2a09
#GT-1053: submodule modified
zmm May 1, 2014
151e679
#GT-1053: fixed pathes at service.pro
zmm May 1, 2014
3c797e8
#GT-1053: auto commit fixed
zmm May 2, 2014
f713473
#GT-1053:wlibriak installation changed
zmm May 2, 2014
2ff4cba
#GT-1068: simlinks creation removed
zmm May 2, 2014
1e29e96
#GT-1068: libriak.pro position fixed
zmm May 2, 2014
05649b5
changelog fixed
zmm May 5, 2014
b19755e
#GT-1069: changelog fixed
zmm May 5, 2014
e8ed128
#GT-1069: 0.31 news added
zmm May 5, 2014
1ba903c
Merge branch 'devel'
zmm May 5, 2014
691a76b
#GT-1069: 0.31_release_news fixed
zmm May 6, 2014
1d9dc57
version fixed
zmm May 7, 2014
8dbf06a
#GT-1063: added check for free disk space
zmm May 10, 2014
32068ce
Changed year
krinkin Mar 30, 2015
6e55893
Typo fixed
Mar 30, 2015
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
local.properties
*.user
.classpath
gen/
bin/
*.class
1,716 changes: 1,716 additions & 0 deletions 3rdparty/libriak/Doxyfile

Large diffs are not rendered by default.

365 changes: 365 additions & 0 deletions 3rdparty/libriak/INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,365 @@
Installation Instructions
*************************

Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
2006, 2007, 2008, 2009 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.

Basic Installation
==================

Briefly, the shell commands `./configure; make; make install' should
configure, build, and install this package. The following
more-detailed instructions are generic; see the `README' file for
instructions specific to this package. Some packages provide this
`INSTALL' file but do not implement all of the features documented
below. The lack of an optional feature in a given package is not
necessarily a bug. More recommendations for GNU packages can be found
in *note Makefile Conventions: (standards)Makefile Conventions.

The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').

It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. Caching is
disabled by default to prevent problems with accidental use of stale
cache files.

If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.

The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You need `configure.ac' if
you want to change it or regenerate `configure' using a newer version
of `autoconf'.

The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system.

Running `configure' might take a while. While running, it prints
some messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Optionally, type `make check' to run any self-tests that come with
the package, generally using the just-built uninstalled binaries.

4. Type `make install' to install the programs and any data files and
documentation. When installing into a prefix owned by root, it is
recommended that the package be configured and built as a regular
user, and only the `make install' phase executed with root
privileges.

5. Optionally, type `make installcheck' to repeat any self-tests, but
this time using the binaries in their final installed location.
This target does not install anything. Running this target as a
regular user, particularly if the prior `make install' required
root privileges, verifies that the installation completed
correctly.

6. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.

7. Often, you can also type `make uninstall' to remove the installed
files again. In practice, not all packages have tested that
uninstallation works correctly, even though it is required by the
GNU Coding Standards.

8. Some packages, particularly those that use Automake, provide `make
distcheck', which can by used by developers to test that all other
targets like `make install' and `make uninstall' work correctly.
This target is generally not run by end users.

Compilers and Options
=====================

Some systems require unusual options for compilation or linking that
the `configure' script does not know about. Run `./configure --help'
for details on some of the pertinent environment variables.

You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment. Here
is an example:

./configure CC=c99 CFLAGS=-g LIBS=-lposix

*Note Defining Variables::, for more details.

Compiling For Multiple Architectures
====================================

You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you can use GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'. This
is known as a "VPATH" build.

With a non-GNU `make', it is safer to compile the package for one
architecture at a time in the source code directory. After you have
installed the package for one architecture, use `make distclean' before
reconfiguring for another architecture.

On MacOS X 10.5 and later systems, you can create libraries and
executables that work on multiple system types--known as "fat" or
"universal" binaries--by specifying multiple `-arch' options to the
compiler but only a single `-arch' option to the preprocessor. Like
this:

./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
CPP="gcc -E" CXXCPP="g++ -E"

This is not guaranteed to produce working output in all cases, you
may have to build one architecture at a time and combine the results
using the `lipo' tool if you have problems.

Installation Names
==================

By default, `make install' installs the package's commands under
`/usr/local/bin', include files under `/usr/local/include', etc. You
can specify an installation prefix other than `/usr/local' by giving
`configure' the option `--prefix=PREFIX', where PREFIX must be an
absolute file name.

You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.

In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
kinds of files. Run `configure --help' for a list of the directories
you can set and what kinds of files go in them. In general, the
default for these options is expressed in terms of `${prefix}', so that
specifying just `--prefix' will affect all of the other directory
specifications that were not explicitly provided.

The most portable way to affect installation locations is to pass the
correct locations to `configure'; however, many packages provide one or
both of the following shortcuts of passing variable assignments to the
`make install' command line to change installation locations without
having to reconfigure or recompile.

The first method involves providing an override variable for each
affected directory. For example, `make install
prefix=/alternate/directory' will choose an alternate location for all
directory configuration variables that were expressed in terms of
`${prefix}'. Any directories that were specified during `configure',
but not in terms of `${prefix}', must each be overridden at install
time for the entire installation to be relocated. The approach of
makefile variable overrides for each directory variable is required by
the GNU Coding Standards, and ideally causes no recompilation.
However, some platforms have known limitations with the semantics of
shared libraries that end up requiring recompilation when using this
method, particularly noticeable in packages that use GNU Libtool.

The second method involves providing the `DESTDIR' variable. For
example, `make install DESTDIR=/alternate/directory' will prepend
`/alternate/directory' before all installation names. The approach of
`DESTDIR' overrides is not required by the GNU Coding Standards, and
does not work on platforms that have drive letters. On the other hand,
it does better at avoiding recompilation issues, and works well even
when some directory options were not specified in terms of `${prefix}'
at `configure' time.

Optional Features
=================

If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.

Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.

For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.

Some packages offer the ability to configure how verbose the
execution of `make' will be. For these packages, running `./configure
--enable-silent-rules' sets the default to minimal output, which can be
overridden with `make V=1'; while running `./configure
--disable-silent-rules' sets the default to verbose, which can be
overridden with `make V=0'.

Particular systems
==================

On HP-UX, the default C compiler is not ANSI C compatible. If GNU
CC is not installed, it is recommended to use the following options in
order to use an ANSI C compiler:

./configure CC="cc -Ae -D_XOPEN_SOURCE=500"

and if that doesn't work, install pre-built binaries of GCC for HP-UX.

On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
parse its `<wchar.h>' header file. The option `-nodtk' can be used as
a workaround. If GNU CC is not installed, it is therefore recommended
to try

./configure CC="cc"

and if that doesn't work, try

./configure CC="cc -nodtk"

On Solaris, don't put `/usr/ucb' early in your `PATH'. This
directory contains several dysfunctional programs; working variants of
these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
in your `PATH', put it _after_ `/usr/bin'.

On Haiku, software installed for all users goes in `/boot/common',
not `/usr/local'. It is recommended to use the following options:

./configure --prefix=/boot/common

Specifying the System Type
==========================

There may be some features `configure' cannot figure out
automatically, but needs to determine by the type of machine the package
will run on. Usually, assuming the package is built to be run on the
_same_ architectures, `configure' can figure that out, but if it prints
a message saying it cannot guess the machine type, give it the
`--build=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name which has the form:

CPU-COMPANY-SYSTEM

where SYSTEM can have one of these forms:

OS
KERNEL-OS

See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the machine type.

If you are _building_ compiler tools for cross-compiling, you should
use the option `--target=TYPE' to select the type of system they will
produce code for.

If you want to _use_ a cross compiler, that generates code for a
platform different from the build platform, you should specify the
"host" platform (i.e., that on which the generated programs will
eventually be run) with `--host=TYPE'.

Sharing Defaults
================

If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.

Defining Variables
==================

Variables not defined in a site shell script can be set in the
environment passed to `configure'. However, some packages may run
configure again during the build, and the customized values of these
variables may be lost. In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'. For example:

./configure CC=/usr/local2/bin/gcc

causes the specified `gcc' to be used as the C compiler (unless it is
overridden in the site shell script).

Unfortunately, this technique does not work for `CONFIG_SHELL' due to
an Autoconf bug. Until the bug is fixed you can use this workaround:

CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash

`configure' Invocation
======================

`configure' recognizes the following options to control how it
operates.

`--help'
`-h'
Print a summary of all of the options to `configure', and exit.

`--help=short'
`--help=recursive'
Print a summary of the options unique to this package's
`configure', and exit. The `short' variant lists options used
only in the top level, while the `recursive' variant lists options
also present in any nested packages.

`--version'
`-V'
Print the version of Autoconf used to generate the `configure'
script, and exit.

`--cache-file=FILE'
Enable the cache: use and save the results of the tests in FILE,
traditionally `config.cache'. FILE defaults to `/dev/null' to
disable caching.

`--config-cache'
`-C'
Alias for `--cache-file=config.cache'.

`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made. To
suppress all normal output, redirect it to `/dev/null' (any error
messages will still be shown).

`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.

`--prefix=DIR'
Use DIR as the installation prefix. *note Installation Names::
for more details, including other options available for fine-tuning
the installation locations.

`--no-create'
`-n'
Run the configure checks, but stop before creating any output
files.

`configure' also accepts some other, not widely useful, options. Run
`configure --help' for more details.

Loading