Jump to content

Avahi Daemon For Mandriva 2006.0


anonxyz
 Share

Recommended Posts

Hi

I want to install Avahi daemon for Mandriva 2006.0 using binary or source code.

 

http://www.avahi.org

 

1. Binary:

from MDE.DJURA.ORG: failed to start avahi daemon.

 

2. Source:

Configure script failed to detect python site-packages directory:

"{Prefix}/lib/python......./site-packages" and

"{Exec_Prefix}/lib/python......./site-packages.

 

It should be: "/usr/lib/python......../site-packages".

 

The script also failed to detect "Python module GTK".

 

I had compiled pyGTK-2.8.6 for GTK-2.8 from source code. The pyGTK is installed at: "/usr/lib/python....../site-packages/gtk-2.0". There is also "/usr/lib/pkgconfig/pygtk-2.0.pc" file with correct "prefix" entry (ie "/usr" )

 

Using "--disable-python" the script works, but after compile and install:

"failed to start avahi daemon"

 

Is there any read to run avahi daemon binary packages for Mandriva?

How to install avahi-daemon?

 

Thank you.

Link to comment
Share on other sites

Hi

I found that the latest avahi need dbus version 1.0.../later.

 

1. How to solve {prefix} problem:

 

Apparently "./configure" scripts cannot substitute "{prefix}" with "/usr", even when you use "--prefix=/usr" parameter.

 

The solution:

Open "./configure" scripts with text editor.

Replace ${prefix} with /usr

Replace ${exec_prefix} with /usr

Replace ${datarootdir} with /usr/share

Replace ${localstatedir} with /var

Replace ${sharedstatedir} with /com (or /usr/com).

Replace ${docdir} with /usr/doc

 

2. How to solve "cannot find python module gtk" or "python module dbus":

 

Run the following command on console/command line for finding the problems:

python

enter the following command:

import sys

import gtk

Press "Ctrl-D" to leave python.

or

import sys

import dbus

Press "Ctrl-D" to leave python.

 

Fix all the errors by upgrading related software. Example: cairo, pycairo, python, python-pyxml, libexpat etc.

Link to comment
Share on other sites

Hi

I want to install Avahi daemon for Mandriva 2006.0 using binary or source code.

 

http://www.avahi.org

 

1. Binary:

from MDE.DJURA.ORG: failed to start avahi daemon.

 

2. Source:

Configure script failed to detect python site-packages directory:

"{Prefix}/lib/python......./site-packages" and

"{Exec_Prefix}/lib/python......./site-packages.

 

It should be: "/usr/lib/python......../site-packages".

 

The script also failed to detect "Python module GTK".

 

I had compiled pyGTK-2.8.6 for GTK-2.8 from source code. The pyGTK is installed at: "/usr/lib/python....../site-packages/gtk-2.0". There is also "/usr/lib/pkgconfig/pygtk-2.0.pc" file with correct "prefix" entry (ie "/usr" )

 

Using "--disable-python" the script works, but after compile and install:

"failed to start avahi daemon"

 

Is there any read to run avahi daemon binary packages for Mandriva?

How to install avahi-daemon?

 

Thank you.

 

You should not change nothing in the script since all is as it should be, %{prefix} stands for /usr

 

Have you correctly installed MDE packages?

 

anyway to check if the service avahi-daemon is runing, run as root:

service avahi-daemon status

 

If the service isnt running (since this is a service that doesnt stay active by default), to start the service run as root:

 

service avahi-daemon start

 

but you can also run as root drakxservices to see all services status

 

mandriva 2006 is an old version, you should upgrade to this new version 2007.1 that will be publicly out in some days.

Link to comment
Share on other sites

> Should not change "./configure" scripts.

 

On line 26440 and 26442:

 

PYTHON_PREFIX='${prefix}'

PYTHON_EXEC_PREFIX='${prefix}'

 

If I use "./configure --prefix=/usr"

the substitution WILL NOT WORK.

 

If I change the 2 lines to:

PYTHON_PREFIX=${prefix}

PYTHON_EXEC_PREFIX=${prefix}

 

The substitution work, but "make install" FAILED because of problems with directory names.

 

I try to change "${prefix}" to "%{prefix}, but it DOES NOT WORK.

 

Any idea why the substitution did not work inside '' (quote) signs?

 

I use Bash-3.2 compiled from source code.

 

Thank you.

Link to comment
Share on other sites

> Should not change "./configure" scripts.

 

On line 26440 and 26442:

 

PYTHON_PREFIX='${prefix}'

PYTHON_EXEC_PREFIX='${prefix}'

 

If I use "./configure --prefix=/usr"

the substitution WILL NOT WORK.

 

If I change the 2 lines to:

PYTHON_PREFIX=${prefix}

PYTHON_EXEC_PREFIX=${prefix}

 

The substitution work, but "make install" FAILED because of problems with directory names.

 

I try to change "${prefix}" to "%{prefix}, but it DOES NOT WORK.

 

Any idea why the substitution did not work inside '' (quote) signs?

 

I use Bash-3.2 compiled from source code.

 

Thank you.

o didnt paid much attention to what was wrote, i didnt saw that you were complaining about compiling, but i still dont get why the hell are you trying to build any when you already have all software packaged and even worst when you dont have experience about it.

 

I havent understand what you are trying to buld, why you are trying to building it when already told you how to run daemon avahi-daemon.

 

You must take in consideration that if your going to build a recent avahi version you will also have to build all that depends on it, since avahi version build for 2006 is an old one, so you will have to rebuild all kde stuff and all that depends on avahi.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...