Comments (3)
Hi LLE8! I think you may have forgotten the configure
command. Can you try using the following commands in the same order?
./autogen.sh
./configure --prefix=/usr CFLAGS='-pedantic -std=c99 -g -O3'
make
make check
make install
from libconfini.
May be i was confused because last line of autogen.sh output was "Now type `make' to compile".
But configure is not helpful
user1@black2:~$
user1@black2:~$ git clone https://github.com/madmurphy/libconfini.git
Cloning into 'libconfini'...
remote: Counting objects: 1628, done.
remote: Total 1628 (delta 0), reused 0 (delta 0), pack-reused 1628
Receiving objects: 100% (1628/1628), 811.96 KiB | 680.00 KiB/s, done.
Resolving deltas: 100% (1207/1207), done.
user1@black2:~$ cd libconfini
user1@black2:~/libconfini$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Creating ./aclocal.m4 ...
Running glib-gettextize... Ignore non-fatal messages.
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ...
Running intltoolize...
Running libtoolize...
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize: '/usr/share/aclocal/libtool.m4'
libtoolize: '/usr/share/aclocal/ltoptions.m4'
libtoolize: '/usr/share/aclocal/ltsugar.m4'
libtoolize: '/usr/share/aclocal/ltversion.m4'
libtoolize: '/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Running aclocal ...
Running autoheader...
Running automake --gnu ...
configure.ac:12: installing './compile'
configure.ac:32: installing './config.guess'
configure.ac:32: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
src/Makefile.am: installing './depcomp'
Running autoconf ...
Running ./configure ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.24.1
checking for XML::Parser... ok
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/confini-1.4.pc
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
Now type `make' to compile.
user1@black2:~/libconfini$ ./configure --prefix=/usr CFLAGS='-pedantic -std=c99 -g -O3'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.51.0 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.24.1
checking for XML::Parser... ok
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/confini-1.4.pc
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands
user1@black2:~/libconfini$ make
make all-recursive
make[1]: Entering directory '/home/user1/libconfini'
Making all in src
make[2]: Entering directory '/home/user1/libconfini/src'
CC confini.lo
CCLD libconfini.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[2]: Leaving directory '/home/user1/libconfini/src'
Making all in po
make[2]: Entering directory '/home/user1/libconfini/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/user1/libconfini/po'
make[2]: Entering directory '/home/user1/libconfini'
make[2]: Leaving directory '/home/user1/libconfini'
make[1]: Leaving directory '/home/user1/libconfini'
user1@black2:~/libconfini$
user1@black2:~/libconfini$ ls -l
total 2072
-rw-r--r-- 1 user1 user1 398252 Dec 17 00:47 aclocal.m4
-rw-r--r-- 1 user1 user1 30 Dec 17 00:46 AUTHORS
-rwxr-xr-x 1 user1 user1 4879 Dec 17 00:46 autogen.sh
drwxr-xr-x 2 user1 user1 4096 Dec 17 00:47 autom4te.cache
-rw-r--r-- 1 user1 user1 4538 Dec 17 00:46 ChangeLog
lrwxrwxrwx 1 user1 user1 9 Dec 17 00:46 ChangeLog.md -> ChangeLog
-rwxr-xr-x 1 user1 user1 7333 Dec 17 00:47 compile
-rwxr-xr-x 1 user1 user1 43940 Dec 17 00:47 config.guess
-rw-r--r-- 1 user1 user1 2400 Dec 17 00:47 config.h
-rw-r--r-- 1 user1 user1 2184 Dec 17 00:47 config.h.in
-rw-r--r-- 1 user1 user1 32415 Dec 17 00:47 config.log
-rwxr-xr-x 1 user1 user1 64917 Dec 17 00:47 config.status
-rwxr-xr-x 1 user1 user1 36339 Dec 17 00:47 config.sub
-rwxr-xr-x 1 user1 user1 477505 Dec 17 00:47 configure
-rw-r--r-- 1 user1 user1 1233 Dec 17 00:46 configure.ac
-rw-r--r-- 1 user1 user1 35148 Dec 17 00:46 COPYING
-rwxr-xr-x 1 user1 user1 23566 Dec 17 00:47 depcomp
drwxr-xr-x 4 user1 user1 4096 Dec 17 00:46 docs
-rw-r--r-- 1 user1 user1 1090 Dec 17 00:46 docs.dox
-rw-r--r-- 1 user1 user1 107436 Dec 17 00:46 doxygen.conf
drwxr-xr-x 4 user1 user1 4096 Dec 17 00:46 examples
-rw-r--r-- 1 user1 user1 294 Dec 17 00:46 INSTALL
-rwxr-xr-x 1 user1 user1 15155 Dec 17 00:47 install-sh
-rw-r--r-- 1 user1 user1 0 Dec 17 00:47 intltool-extract.in
-rw-r--r-- 1 user1 user1 0 Dec 17 00:47 intltool-merge.in
-rw-r--r-- 1 user1 user1 0 Dec 17 00:47 intltool-update.in
-rwxr-xr-x 1 user1 user1 339442 Dec 17 00:47 libtool
-rw-r--r-- 1 user1 user1 324412 Dec 17 00:47 ltmain.sh
-rw-r--r-- 1 user1 user1 34451 Dec 17 00:47 Makefile
-rw-r--r-- 1 user1 user1 1227 Dec 17 00:46 Makefile.am
-rw-r--r-- 1 user1 user1 34453 Dec 17 00:47 Makefile.in
-rw-r--r-- 1 user1 user1 35161 Dec 17 00:46 MANUAL.md
-rwxr-xr-x 1 user1 user1 6872 Dec 17 00:47 missing
-rw-r--r-- 1 user1 user1 902 Dec 17 00:46 NEWS
drwxr-xr-x 2 user1 user1 4096 Dec 17 00:48 po
-rw-r--r-- 1 user1 user1 2559 Dec 17 00:46 README
lrwxrwxrwx 1 user1 user1 6 Dec 17 00:46 README.md -> README
drwxr-xr-x 4 user1 user1 4096 Dec 17 00:47 src
-rw-r--r-- 1 user1 user1 23 Dec 17 00:47 stamp-h1
user1@black2:~/libconfini$
What's wrong? Is it possible that some dev packages are missing in my system?
But debian packages from debian repo builds successfully.
from libconfini.
It seems to me that everything went well. If you want to install it you have just to type
make install
If instead you are just looking for the compiled binaries, you should find a confini.o
file under src
.
from libconfini.
Related Issues (14)
- Building on macOS HOT 6
- Question about calling load_ini_file() from inside the IniDispHandler HOT 1
- Standalone manager program? HOT 26
- Write to .ini support HOT 1
- examples fail in ubuntu 20.04 lts HOT 4
- Heap buffer overflow when parsing a simple test file with a multiline comment HOT 5
- Issues with dispatch in spite of correct file location HOT 2
- Re: TOML performance HOT 2
- Update Installation Guide HOT 1
- Both load_ini_path and load_ini_file method calls fail from C++ code HOT 9
- Shebang in autogen.sh should be #!/bin/bash HOT 1
- Question about licensing HOT 7
- new interface function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libconfini.