Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > Mandriva
Mandriva Vos questions sur la distribution Mandriva (Mandrake)
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 17/12/2010, 22h21   #1
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
Par défaut problème avec flex et ltib

bonsoir, si quelqu'un peut m'aider à trouver une solution, en installant ltib sous mandriva j'ai eu ce problème avec flex
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
[foued@localhost ltib-imx27ads-20070522]$ ./ltib
 
Installing host support packages.
 
This only needs to be done once per host, but may take up to
an hour to complete ...
 
If an error occurs, a log file with the full output may be found in:
/home/foued/ltib-imx27ads-20070522/host_config.log
 
Exiting on error or interrupt
Please see /home/foued/ltib-imx27ads-20070522/host_config.log for details
[foued@localhost ltib-imx27ads-20070522]$ cat host_config.log 
 
Processing platform: Host support packages
============================================
(see logfile: /home/foued/ltib-imx27ads-20070522/host_config.log)
using /home/foued/ltib-imx27ads-20070522/config/platform/host/ltib.preconfig
 
Processing: fake-provides
===========================
 
Processing: mkspooflinks
==========================
 
Processing: bison
===================
 
Processing: flex
==================
 
Cowardly refusing to clobber existing directory:
     /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.4
Remove this by hand if you really want to rebuild this package from scratch
 
scbuild/scdeploy already unpacked package
 
Processing: flex
==================
rpmbuild --dbpath /opt/freescale/ltib/var/lib/rpm --define '_unpackaged_files_terminate_build 0' --define '_target_cpu i686' --define '__strip strip' --define '_topdir /opt/freescale/ltib/usr/src/rpm' --define '_prefix /opt/freescale/ltib/usr' --define '_tmppath /home/foued/ltib-imx27ads-20070522/tmp' --define '_mandir /opt/freescale/ltib/usr/share/man' --define '_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bc --short-circuit  /home/foued/ltib-imx27ads-20070522/dist/lfs-5.1/flex/flex.spec
Executing(%build): /bin/sh -e /home/foued/ltib-imx27ads-20070522/tmp/rpm-tmp.93562
+ umask 022
+ cd /opt/freescale/ltib/usr/src/rpm/BUILD
+ cd flex-2.5.4
+ ./configure --prefix=/opt/freescale/ltib/usr
loading cache ./config.cache
checking whether ln -s works... (cached) yes
checking for bison... (cached) bison -y
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether make sets $MAKE... (cached) yes
checking for working const... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether cross-compiling... (cached) no
checking for ANSI C header files... (cached) yes
checking for size_t... (cached) yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
+ make
bison -y -d ./parse.y
make: *** [parse.c] Erreur de segmentation
error: Bad exit status from /home/foued/ltib-imx27ads-20070522/tmp/rpm-tmp.93562 (%build)
 
 
RPM build errors:
    Bad exit status from /home/foued/ltib-imx27ads-20070522/tmp/rpm-tmp.93562 (%build)
Build time for flex: 1 seconds
 
Failed building flex
Died at ./ltib line 1396.
 
Started: Fri Dec 17 21:59:33 2010
Ended:   Fri Dec 17 21:59:35 2010
Elapsed: 2 seconds
 
These packages failed to build:
flex 
Build Failed
merci
faouda est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 17/12/2010, 23h09   #2
Invité de passage
 
foued belghouthi
Inscription : août 2010
Messages : 8
Détails du profil
Informations personnelles :
Nom : foued belghouthi

Informations forums :
Inscription : août 2010
Messages : 8
Points : 4
Points : 4
enfin , j'ai trouvé un fix :
http://www.imxdev.org/wiki/index.php...ll_Boards_LTIB

en effectuant les deux corrections valables aussi pour fedora, suse, le build sera fait avec succès
faouda est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 08h35.


 
 
 
 
Partenaires

Hébergement Web