You are not logged in.

#1 2005-08-13 08:50:03

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

the --with-distro flag

I have by now stumbled over two applications that require the "--with-distro=" flag, namely networkmanager and gnome-power-manager. Of course --with-distro=arch isn't available. Does anyone have any suggestions for how to go about and fix it? I'm rather curious about what the --with-distro flag actually does. I would guess it has to do with directory structure. Should it be at all possible to temporarily use another distro instead of arch? Perhaps slackware?

Offline

#2 2005-08-13 20:58:18

sullivanva
Member
From: Herndon, VA USA
Registered: 2005-07-21
Posts: 126

Re: the --with-distro flag

I got the same problem with rkhunter.

So I wrote the owner and sent them diff files for how to add support for arch.

It seems silly for them to do this, because in the case of rkhunter you have to add logic for each version of the distro.

For example in the os.dat file I had to add the last line:

700:ALT Linux Master 2.2 (Orange):/usr/bin/md5sum:/bin:
701:ALT Linux Master 2.4 (Citron):/usr/bin/md5sum:/bin:
702:Gentoo Linux 1.6 (sparc):/usr/bin/md5sum:/bin:
703:Gentoo Linux 1.6 (sparc64):/usr/bin/md5sum:/bin:
704:Gentoo Linux 1.6 (x86_64):/usr/bin/md5sum:/bin:
800:Arch Linux 0.7 (Wombat):/usr/bin/md5sum:/bin:

And when I update the database I have to add the logic back in each time.


--HAPS

Offline

#3 2005-09-03 17:36:38

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: the --with-distro flag

gnome-power-manager 0.2.0 is out. I'm gonna try to see if I can get it running. It requires the latest hal at least 0.35.2 of dbus. I'll post the PKGBUILD if I get anywhere with this...

EDIT:
Hmmm... can't get dbus to compile. This is the last output - if anyone has any ideas, I'd love to know.

make[4]: Leaving directory `/var/abs/local/dbus/src/dbus-0.35.2/glib'
Making all in examples
make[4]: Entering directory `/var/abs/local/dbus/src/dbus-0.35.2/glib/examples'
libtool --mode=execute ../../glib/dbus-binding-tool --prefix=some_object --mode=glib-server --output=example-service-glue.h ./example-service.xml
/var/abs/local/dbus/src/dbus-0.35.2/glib/.libs/lt-dbus-binding-tool: symbol lookup error: /var/abs/local/dbus/src/dbus-0.35.2/glib/.libs/lt-dbus-binding-tool: undefined symbol: XML_ParserCreate_MM
make[4]: *** [example-service-glue.h] Error 127
make[4]: Leaving directory `/var/abs/local/dbus/src/dbus-0.35.2/glib/examples'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/dbus/src/dbus-0.35.2/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/abs/local/dbus/src/dbus-0.35.2/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/dbus/src/dbus-0.35.2'
make: *** [all] Error 2

Cheers!

Offline

#4 2005-09-04 03:30:19

sullivanva
Member
From: Herndon, VA USA
Registered: 2005-07-21
Posts: 126

Re: the --with-distro flag

The one you're trying to compile is in testing on the main Arch site.

You can always take a look at the CVS entries to see how they did it.


--HAPS

Offline

#5 2005-09-05 14:06:36

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: the --with-distro flag

That's actually what I did smile ...but still unable to compile...

Offline

#6 2005-09-05 15:10:15

sullivanva
Member
From: Herndon, VA USA
Registered: 2005-07-21
Posts: 126

Re: the --with-distro flag

They just jumped to 0.36.2.

I'll give it a shot.

BTW, are you interested in building it, or just downloading it?

I think you can do the pacman -S testing/dbus if you just want it ...

---------------------------------------------------------------------------

The package requires pyrex >= 0.9.3, which isn't in the list. 
Unfortunately, you can't make it because
the site appears to be down.


--HAPS

Offline

#7 2005-09-05 15:25:20

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: the --with-distro flag

Didn't think of that. I'll just download it with testing/dbus. Thanks for the tip. My main objective is to get gnome-power-manager up and running, so it doesn't really matter where dbus comes from..

Offline

#8 2005-09-05 15:37:16

sullivanva
Member
From: Herndon, VA USA
Registered: 2005-07-21
Posts: 126

Re: the --with-distro flag

BTW, when you add testing in, it does try to trick you.

root@boogie:/var/abs/local/dbus> pacman -Syu
:: Synchronizing package databases...
 testing                  [################] 100%      67K    75.8K/s  00:00:00
:: current is up to date
:: extra is up to date
:: unstable is up to date
 community                [################] 100%      23K    38.1K/s  00:00:00
:: Replace fam with gamin from "testing"? [Y/n] n
:: Replace gcc-g77 with gcc-fortran from "testing"? [Y/n] n

:: pacman has detected a newer version of the "pacman" package.
:: It is recommended that you allow pacman to upgrade itself
:: first, then you can re-run the operation with the newer version.
::
:: Upgrade pacman first? [Y/n] n
error: unresolvable dependencies:
  gcc-g77: requires gcc=3.4.3

--HAPS

Offline

#9 2005-09-05 15:49:21

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: the --with-distro flag

I was ahead of it though wink  -- I added testing at the very end of my list. I guess pacman prioritizes what comes first so none of the testing packages get precedence over current/extra.

Anyway, I installed dbus + hal from testing, but I can't get gnome-power-manager to compile anyway. I get compile error related to hal... and I have no clue of how to resolve those... ah well, such is life...

Offline

#10 2005-09-05 15:54:31

sullivanva
Member
From: Herndon, VA USA
Registered: 2005-07-21
Posts: 126

Re: the --with-distro flag

It still keeps trying to trick me, even though I moved it to the bottom.

Did you replace fam with gamin, and the rest?

root@boogie:/var/abs/local/dbus> pacman -Syu
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
:: unstable is up to date
:: community is up to date
:: testing is up to date
:: Replace fam with gamin from "testing"? [Y/n] n
:: Replace gcc-g77 with gcc-fortran from "testing"? [Y/n] n
:: pyrex: local version (0.9.3-3) is newer than repo version (0.9.3-2)
:: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'
root@boogie:/var/abs/local/dbus>

--HAPS

Offline

#11 2005-09-05 16:02:38

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: the --with-distro flag

I have been using gamin for some time now, but I noticed now that I'm using an old version. And I don't have gcc-g77 so I'm not getting any notes on that. Here's my output:

[root@nightfrost gnome-power-manager]# pacman -Suy
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
:: unstable is up to date
:: community is up to date
 archie                   [----------------] 100%       3K     5.2K/s  00:00:00
 dibble                   [----------------] 100%       5K    12.0K/s  00:00:00
:: link is up to date
:: testing is up to date
:: dbus: local version (0.36.2-1) is newer than repo version (0.34-1)
:: gnome-desktop: local version (2.10.2-2_pentiumm) is newer than repo version (2.10.2-1)
:: gtk2: local version (2.6.9-2_pentiumm) is newer than repo version (2.6.9-1)
:: hal: local version (0.5.4-1) is newer than repo version (0.5.3-1)
:: ieee80211-1.0.3-1_archck1: ignoring package upgrade (1.0.3-1)
:: ipw2200: local version (1.0.6-2_archck1) is newer than repo version (1.0.6-1)
:: kernel26archck: local version (2.6.13.archck1-3_p7010) is newer than repo version (2.6.13.archck1-1)
:: metacity: local version (2.10.3-2_pentiumm) is newer than repo version (2.10.3-1)
:: xorg: local version (11R6.8.99.900-2) is newer than repo version (11R6.8.2-2)
:: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'

Targets: gamin-0.1.5-2 libaal-1.0.5-1 reiser4progs-1.0.5-1 tomboy-0.3.3-1

Total Package Size:   0.8 MB

Proceed with upgrade? [Y/n] n

The pacakges it wants to upgrade are from current/extra, except gamin of course which only exists in testing.

Offline

#12 2005-09-05 16:28:56

sullivanva
Member
From: Herndon, VA USA
Registered: 2005-07-21
Posts: 126

Re: the --with-distro flag

The gcc-g77 might help with some of your builds.

Also, I don't know if I'd trust that dibble character.

He thinks robots control the world.  Cuckoo! 

It's really the FSM.

Shiver me timbers, matey!


--HAPS

Offline

Board footer

Powered by FluxBB