From: Petter Gustad on

I've been running Quarus under Gentoo for quite a few years. Despite
that Gentoo is not an officially supported Linux distribution by
Altera, it has worked fine with practically no problems.

After upgrading to 9.1 I keep getting the message:

rpm: Command not found.

whenever I launch an Altera program. However, I thought this caused no
problems other than the output of this message on stdout. I don't know
why Quartus always runs rpm, maybe to query packages under Red Hat.

But it seems like if I run "sopc_builder --generate" sopc_builder will
be confused by the excessive output and think that its sub-process has
failed:

Error: qmegawiz command failed stdout: stderr:rpm: Command not found.

Have anybody figured out a workaround for this? I tried to write a
script called rpm which quitely returns success, but it seems like
Quartus looks for rpm at a specific location as it does not take my
bait.

Petter

--
..sig removed by request.
From: d_s_klein on
It's part of Altera's 'check for updates'.

Just install rpm and be done with it; that's what I did.

RK

Top-posted only to annoy ;)

On Mar 22, 6:38 am, Petter Gustad <newsmailco...(a)gustad.com> wrote:
> I've been running Quarus under Gentoo for quite a few years. Despite
> that Gentoo is not an officially supported Linux distribution by
> Altera, it has worked fine with practically no problems.
>
> After upgrading to 9.1 I keep getting the message:
>
> rpm: Command not found.
>
> whenever I launch an Altera program. However, I thought this caused no
> problems other than the output of this message on stdout. I don't know
> why Quartus always runs rpm, maybe to query packages under Red Hat.
>
> But it seems like if I run "sopc_builder --generate" sopc_builder will
> be confused by the excessive output and think that its sub-process has
> failed:
>
> Error: qmegawiz command failed stdout: stderr:rpm: Command not found.
>
> Have anybody figured out a workaround for this? I tried to write a
> script called rpm which quitely returns success, but it seems like
> Quartus looks for rpm at a specific location as it does not take my
> bait.
>
> Petter
>
> --
> .sig removed by request.

From: Petter Gustad on
d_s_klein <d_s_klein(a)yahoo.com> writes:

> It's part of Altera's 'check for updates'.
>
> Just install rpm and be done with it; that's what I did.

It seems like the real rpm is causing problems when I run
sopc_builder:

Error: i2c_hdmi: error: cannot open Packages index using db3 - No such file or directory (2)

I don't have a single rpm file in my Altera installation nor in my
design database, or in my home directory. Is Quartus actually trying
to store IP in /var/lib/rpm (which usually requires root access)?

This is odd as I never had any problems with Quartus up to 9.0.

Petter
--
..sig removed by request.
From: d_s_klein on
On Mar 22, 2:33 pm, Petter Gustad <newsmailco...(a)gustad.com> wrote:
> d_s_klein <d_s_kl...(a)yahoo.com> writes:
> > It's part of Altera's 'check for updates'.
>
> > Just install rpm and be done with it; that's what I did.
>
> It seems like the real rpm is causing problems when I run
> sopc_builder:
>
> Error: i2c_hdmi: error: cannot open Packages index using db3 - No such file or directory (2)
>
> I don't have a single rpm file in my Altera installation nor in my
> design database, or in my home directory. Is Quartus actually trying
> to store IP in /var/lib/rpm (which usually requires root access)?
>
> This is odd as I never had any problems with Quartus up to 9.0.
>
> Petter
> --
> .sig removed by request.

Petter,

Looks like rpm hasn't been through a successful "first run". The db3
file contains the rpm 'state' as it were.

Let rpm rebuild its database - if that doesn't work, I'll dig out my
install notes.

RK
From: Anssi Saari on
d_s_klein <d_s_klein(a)yahoo.com> writes:

> It's part of Altera's 'check for updates'.
>
> Just install rpm and be done with it; that's what I did.

Isn't it easier to just symlink rpm to /bin/true?