Fout tijdens het installeren van libxml

Pagina: 1
Acties:

  • FutureCow
  • Registratie: December 2000
  • Laatst online: 23:07

FutureCow

(C) FutureCow

Topicstarter
Ik draai hier een custum versie van Debian.
Ik heb voor een programma libxml nodig. Maar tijdens het installeren hiervan krijg ik een fout melding:
code:
1
2
3
4
5
6
7
cd . && /bin/sh /root/libxml2-2.6.32/missing --run autoconf
aclocal.m4:17: error: this file was generated for autoconf 2.61.
You have another version of autoconf.  If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:17: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
make: *** [configure] Error 1

Wat moet ik precies verstaan onder regenerate the build system entirely?
Met andere woorden hoe los ik dit op?

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 23:23

deadinspace

The what goes where now?

Waarom installeer je libxml van source in plaats van de Debian packages te gebruiken?

  • FutureCow
  • Registratie: December 2000
  • Laatst online: 23:07

FutureCow

(C) FutureCow

Topicstarter
Deze versie is gebaseerd op Debian maar kan niet overweg met een debian package

  • _eXistenZ_
  • Registratie: Februari 2004
  • Laatst online: 28-01 17:38
Waarom zou je in godsnaam een custom distro zonder packagemanager willen 8)7

/edit Als van source zo belangrijk is pak je desnoods Gentoo die iig nog Portage heeft...

[ Voor 37% gewijzigd door _eXistenZ_ op 03-06-2008 00:20 ]

There is no replacement for displacement!


  • FutureCow
  • Registratie: December 2000
  • Laatst online: 23:07

FutureCow

(C) FutureCow

Topicstarter
wat heeft dat er nu allemaal mee te maken.

ik heb hier een ultra kleine en stille en zuinige (17 watt) 300Mhz Linux server staan. Hier draait dus een speciale versie van Debian.

Maar dit zijn dus geen antwoorden op mijn vraag. Hoe kan ik mijn probleem wel oplossen?

  • _JGC_
  • Registratie: Juli 2000
  • Laatst online: 01:51
Met welke configure regel heb je dat ding gedraaid? Zo te zien staat de maintainer mode aan waardoor autoconf/automake nogmaals wordt gedraaid. Als dit wenselijk is dien je "autoreconf" uit te voeren zodat deze bestanden gegenereerd worden met de autoconf/aclocal/automake versies zoals die op jouw systeem staan.

  • FutureCow
  • Registratie: December 2000
  • Laatst online: 23:07

FutureCow

(C) FutureCow

Topicstarter
ik heb gewoon
./configure
gebruikt, dit verliep zonder problemen, daarna heb ik
make
en kwam precies wat hier boven staat eruit. Het vreemde is dat ik gewoon autoconf versie 2.61 heb draaien.

de ./configure geeft dit als output:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for rm... /usr/bin/rm
checking for mv... /usr/bin/mv
checking for tar... /bin/tar
checking for perl... /usr/bin/perl
checking for wget... /usr/bin/wget
checking for xmllint... /usr/local/bin/xmllint
checking for xsltproc... /usr/bin/xsltproc
checking for function prototypes... yes
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 for string.h... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/powerpc-unknown-linux-gnu/bin/ld
checking if the linker (/usr/powerpc-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/powerpc-unknown-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/powerpc-unknown-linux-gnu/bin/ld) 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/powerpc-unknown-linux-gnu/bin/ld
checking if the linker (/usr/powerpc-unknown-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/powerpc-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/powerpc-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/powerpc-unknown-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
Checking zlib
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
Checking headers
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking ansidecl.h usability... yes
checking ansidecl.h presence... yes
checking for ansidecl.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for stdlib.h... (cached) yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for arpa/nameser.h... yes
checking for resolv.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
Checking libraries
checking for strftime... yes
checking for strdup... yes
checking for strndup... yes
checking for strerror... yes
checking for finite... yes
checking for isnand... no
checking for fp_class... no
checking for class... no
checking for fpclass... no
checking for strftime... (cached) yes
checking for localtime... yes
checking for gettimeofday... yes
checking for ftime... yes
checking for stat... yes
checking for _stat... no
checking for signal... yes
checking for printf... yes
checking for sprintf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for vfprintf... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for sscanf... yes
checking for va_copy... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for library containing connect... none required
checking for type of socket length (socklen_t)... socklen_t *
checking whether to enable IPv6... yes
checking struct sockaddr::ss_family... yes
checking for getaddrinfo... yes
checking for isnan... yes
checking for isinf... yes
checking for python... /usr/local/bin/python
Found Python version 2.5
could not find python2.5/Python.h
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
Checking configuration requirements
Enabling multithreaded support
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_join in -lpthread... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... no
checking for iconv in -liconv... yes
checking for iconv declaration...
        extern size_t iconv (iconv_t cd,  char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
Enabled Schematron support
Enabled Schemas/Relax-NG support
configure: creating ./config.status
config.status: creating libxml2.spec
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libxml/Makefile
config.status: creating doc/Makefile
config.status: creating doc/examples/Makefile
config.status: creating doc/devhelp/Makefile
config.status: creating example/Makefile
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating xstc/Makefile
config.status: creating include/libxml/xmlversion.h
config.status: creating xml2-config
config.status: creating libxml-2.0.pc
config.status: creating libxml-2.0-uninstalled.pc
config.status: creating python/setup.py
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Done configuring

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 23:23

deadinspace

The what goes where now?

FutureCow schreef op maandag 02 juni 2008 @ 23:29:
Deze versie is gebaseerd op Debian maar kan niet overweg met een debian package
Wat is er dan nog Debian aan dat systeem? :P
FutureCow schreef op maandag 02 juni 2008 @ 16:33:
code:
1
2
3
4
5
6
7
cd . && /bin/sh /root/libxml2-2.6.32/missing --run autoconf
aclocal.m4:17: error: this file was generated for autoconf 2.61.
You have another version of autoconf.  If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:17: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
make: *** [configure] Error 1

Wat moet ik precies verstaan onder regenerate the build system entirely?
Ik vermoed dat hij daarmee bedoelt dat je autogen.sh moet draaien, dat is het script dat configure.sh en die andere autoconf dingen genereert. Maar dat is iets dat normaalgesproken alleen door de ontwikkelaars gedaan moet worden, voordat ze distribueren, dus dat is raar. Ik vind het ook raar dat hij missing aanroept.

Autoconf hoef je normaalgesproken helemaal niet geinstalleerd te hebben staan om configure/make/make install te draaien.

Waar heb je libxml precies van gedownload, en welke versie? Is de output van make die je gaf de volledige output of stonden er ook nog dingen boven?

Debian packages zijn overigens ook uit te pakken, en alle files zitten dan in een tarball. Misschien is een andere optie dus om die te gebruiken, al moet je dan wel goed oppassen ivm compatibiliteit met andere zelf-gecompilede dingen.

[ Voor 7% gewijzigd door deadinspace op 03-06-2008 21:17 ]


  • FutureCow
  • Registratie: December 2000
  • Laatst online: 23:07

FutureCow

(C) FutureCow

Topicstarter
ik gebruikte de nieuwste versie gewoon via GNU gedownload (2.6.32) en wat ik in de 1e post heb staan was de complete Make output.

Ik heb nu een voirge versie erop gezet 2.6.31 dit ging "zonder" problemen
Pagina: 1