[ofa-general] OpenSM build now requires lex (flex) and yacc (bison)?
    Ira Weiny 
    weiny2 at llnl.gov
       
    Thu Mar 12 13:39:49 PDT 2009
    
    
  
Doug, Sasha,
We are rolling out internal builds of OpenSM 3.2.5 and found that we needed
the following patch to build under the mock build system.
As far as I can tell osm_qos_parser.l has been around for a long time.  So I
don't know why this is a new requirement.  Doug, did you have to do something
to build 3.2.2 in RedHat's build system?
Ira
>From a65afe305864049b00642759dc2fb8e4d0499c66 Mon Sep 17 00:00:00 2001
From: Tim Meier <meier3 at llnl.gov>
Date: Thu, 12 Mar 2009 07:54:27 -0700
Subject: [PATCH] added yacc requirement to build dependency
Signed-off-by: Tim Meier <meier3 at llnl.gov>
---
 opensm/opensm.spec.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opensm/opensm.spec.in b/opensm/opensm.spec.in
index 7b82faf..3f02235 100644
--- a/opensm/opensm.spec.in
+++ b/opensm/opensm.spec.in
@@ -30,7 +30,7 @@ Group: System Environment/Daemons
 URL: http://openfabrics.org/
 Source: http://www.openfabrics.org/downloads/management/@TARBALL@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libibumad-devel, libtool
+BuildRequires: bison, flex, libibumad-devel, libtool
 Requires: %{name}-libs = %{version}-%{release}, logrotate
 Requires(post): /sbin/service, /sbin/chkconfig
 Requires(preun): /sbin/chkconfig, /sbin/service
-- 
1.5.4.5
    
    
More information about the general
mailing list