Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Greg Freemyer <greg.freemyer@gmail.com>
Cc: Gavin Martin <gavin_martin@xyratex.com>, fio@vger.kernel.org
Subject: Re: Unable to Configure latest build
Date: Sun, 14 Apr 2013 13:47:23 +0200	[thread overview]
Message-ID: <20130414114723.GI12244@kernel.dk> (raw)
In-Reply-To: <08eca738-809f-412f-ba10-23df48aef950@email.android.com>

On Sun, Apr 14 2013, Greg Freemyer wrote:
> 
> 
> Gavin Martin <gavin_martin@xyratex.com> wrote:
> 
> >On 12 April 2013 11:55, Greg Freemyer <greg.freemyer@gmail.com> wrote:
> >>
> >>
> >> Gavin Martin <gavin_martin@xyratex.com> wrote:
> >>
> >>>Hi Jens,
> >>>
> >>>I grabbed the 2.0.15 when it came out and it configured and compiled
> >>>fine, but the latest one from today (12/04) displays errors when
> >>>trying to configure.
> >>>
> >>>I'm not doing anything different to what I was doing for the previous
> >>>builds.  Just running ./configure, below is the output from
> >>>config.log;
> >>>
> >>># FIO configure log Fri Apr 12 08:25:30 BST 2013
> >>># Configured with: './configure'
> >>>#
> >>>gcc -D_GNU_SOURCE -include config-host.h -c -o
> >>>/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c
> >>>/tmp/fio-conf-27676-20722-14401.c:2:2: error: #error __ANDROID__ not
> >>>defined
> >>>gcc -D_GNU_SOURCE -include config-host.h -c -o
> >>>/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c
> >>>gcc -D_GNU_SOURCE -include config-host.h -c -o
> >>>/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c
> >>>/tmp/fio-conf-27676-20722-14401.c:2:2: error: #error __i386__ not
> >>>defined
> >>>gcc -D_GNU_SOURCE -include config-host.h -c -o
> >>>/tmp/fio-conf-9434-20722-5490.o /tmp/fio-conf-27676-20722-14401.c
> >>>Compiling test case cross
> >>>gcc -D_GNU_SOURCE -include config-host.h -o
> >>>/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c
> >>>Compiling test case endian
> >>>gcc -D_GNU_SOURCE -include config-host.h -o
> >>>/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c
> >>>Compiling test case wordsize
> >>>gcc -D_GNU_SOURCE -include config-host.h -DWORDSIZE=32 -o
> >>>/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c
> >>>/tmp/fio-conf-27676-20722-14401.c: In function �main�:
> >>>/tmp/fio-conf-27676-20722-14401.c:5: error: size of array �type name�
> >>>is negative
> >>>Compiling test case wordsize
> >>>gcc -D_GNU_SOURCE -include config-host.h -DWORDSIZE=64 -o
> >>>/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c
> >>>Compiling test case zlib
> >>>gcc -D_GNU_SOURCE -include config-host.h -o
> >>>/tmp/fio-conf-3040-20722-23652.exe /tmp/fio-conf-27676-20722-14401.c
> >>>-lz
> >>>/tmp/fio-conf-27676-20722-14401.c:1:18: error: zlib.h: No such file
> >or
> >>>directory
> >>>/tmp/fio-conf-27676-20722-14401.c: In function �main�:
> >>>/tmp/fio-conf-27676-20722-14401.c:4: error: �z_stream� undeclared
> >>>(first use in this function)
> >>>/tmp/fio-conf-27676-20722-14401.c:4: error: (Each undeclared
> >>>identifier is reported only once
> >>>/tmp/fio-conf-27676-20722-14401.c:4: error: for each function it
> >>>appears in.)
> >>>/tmp/fio-conf-27676-20722-14401.c:4: error: expected �;� before
> >>>�stream�
> >>>/tmp/fio-conf-27676-20722-14401.c:5: error: �stream� undeclared
> >(first
> >>>use in this function)
> >>>/tmp/fio-conf-27676-20722-14401.c:5: error: �Z_OK� undeclared (first
> >>>use in this function)
> >>>
> >>>This is on a SLES11 SP1 x86_64 machine, I don't know enough to see if
> >>>I am doing something wrong, but it has worked on previous builds.
> >>>
> >>>Thanks,
> >>>Gavin
> >>
> >> Gavin,
> >>
> >> I have commit rights to the opensuse fio package in the benchmark
> >repo.
> >>
> >> V2.0.15 is already there.  There should be a sles rpm you can just
> >install.
> >>
> >> Do the fio builds from the opensuse benchmark repo not work for you?
> >>
> >> Why are you self compiling?
> >>
> >> Greg
> >> --
> >> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> >
> >Thanks Greg,
> >
> >Possibly because I didn't know of any other way, thanks for that.
> >
> >But also I was interested in giving gfio a try, and I don't think that
> >has been pre compiled by anybody yet, will probably be proven wrong
> >now!
> >
> >Regards,
> >Gavin
> 
> I haven't followed the gfio possibilities. 
> 
> I gather it has a extra binary that can run on the server and a client app.
> 
> From a packagers perspective, I would want the server side not to pull in any gui requirements.

I think that is the right way to do it.

> Jens, what would you recommend in the way of packages:
>    Fio - cli only
>    Fio-gfio-server
>    Fio-gfio-client 

I think you only need two packages - fio and gfio. Fio already supports
client/server through the cli, that part was done before gfio. gfio just
connects to the same server as the cli frontend. To run gfio, you need
gfio as the client and fio --server as the backend. So just the two
packages would make the most sense, and only the gfio package would have
gui dependencies (and depend on fio, too).

-- 
Jens Axboe


      reply	other threads:[~2013-04-14 11:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12  7:40 Unable to Configure latest build Gavin Martin
2013-04-12  8:13 ` Jens Axboe
2013-04-12  8:27   ` Gavin Martin
2013-04-12  8:42     ` Jens Axboe
2013-04-12  9:31       ` Gavin Martin
2013-04-12  9:46         ` Jens Axboe
2013-04-12 11:13           ` Jens Axboe
2013-04-12 11:31             ` Gavin Martin
2013-04-12 11:34               ` Jens Axboe
2013-04-12 12:17                 ` Jens Axboe
2013-04-12 10:55 ` Greg Freemyer
2013-04-12 11:16   ` Gavin Martin
2013-04-14 10:01     ` Greg Freemyer
2013-04-14 11:47       ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130414114723.GI12244@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=gavin_martin@xyratex.com \
    --cc=greg.freemyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox