sorry, sorry,
the right command is

/root@NOX:/usr/local/openvswitch-1.1.0pre2# ./configure --with-l26=/usr/src///linux-headers-2.6.32-30-generic

/i missunderstood build directory
now i've finished installation process

thanks Ramana Reddy for your  help :-)


On 20/03/2011 16:18, Hilman Fathurrahman wrote:
sorry, i still get error message

at first try, i completed *./configure* process but i got error at *make* process so i decided to delete the folder openvswitch-1.1.0pre2 and extract openvswitch-1.1.0pre2.tar.gz again

but now i get the error message :

/root@NOX:/usr/local/openvswitch-1.1.0pre2# ./boot.sh/
/root@NOX:/usr/local/openvswitch-1.1.0pre2# ./configure --with-l26=/lib/modules/openvswitch --with-l26-source=/usr/src/linux-headers-2.6.32-30-generic/
.
/(skipped)/
.
/checking for Linux 2.6 build directory... /lib/modules/openvswitch/
/checking for Linux 2.6 source directory... configure: error: /usr/src/linux-headers-2.6.32-30-generic is not a kernel source directory)/

I try to reinstall /linux-headers-2.6.32-30-generic, /but still get the same error

thanks for your help :-)


On Sun, Mar 20, 2011 at 3:37 PM, Ramana Reddy <[email protected] <mailto:[email protected]>> wrote:

    It will also work, if u remove the $ and brackets then the `uname
    -r` is needed.
    So, Both are same:
    sudo apt-get install linux-headers-$(uname -r)

    *sudo apt-get install linux-headers-`uname -r`*

    On Sun, Mar 20, 2011 at 2:02 PM, Hilman Fathurrahman
    <[email protected] <mailto:[email protected]>> wrote:

        thanks for fast reply
        now it works :-)


        small correction for the command
        *sudo apt-get install linux-headers-`uname -r`*


        On Sun, Mar 20, 2011 at 3:25 PM, Ramana Reddy
        <[email protected] <mailto:[email protected]>> wrote:

            Please install  linux headers with the following command:
            sudo apt-get install linux-headers-$(uname -r)
            Some times, the headers will be installed in
            /usr/src/linux-headers-2.6.x.x
            instead of /lib/modules/..........
            Please verify that and give the corresponding path when
            you install openvswitch.


            On Sun, Mar 20, 2011 at 1:48 PM, Hilman Fathurrahman
            <[email protected] <mailto:[email protected]>> wrote:

i want to build openvswitch-1.1.0pre2 kernel module in ubuntu 10.04.2 LTS

                but i got error messages :
                /root@NOX:/usr/local/openvswitch-1.1.0pre2#
                <mailto:root@NOX:/usr/local/openvswitch-1.1.0pre2#>
                ./configure --with-l26=/lib/modules/`uname -r`
                .
                /-skipped-/
                .
                checking for Linux 2.6 build directory...
                /lib/modules/2.6.32-30-generic
                checking for Linux 2.6 source directory... configure:
                error: cannot find source directory (please use
                --with-l26-source)/

                i found the problem is the installer can't find the
                source,
                so i want to ask where is the Linux 2.6 source directory ?

                thanks for your help :-)



                _______________________________________________
                discuss mailing list
                [email protected] <mailto:[email protected]>
                http://openvswitch.org/mailman/listinfo/discuss





-- Hilman Fathurrahman
        Teknik Telekomunikasi 07
        Institut Teknologi Bandung

        /HP : +62 838 2132 0101
        Email : i[at]hil-man.net <http://hil-man.net>/


        _______________________________________________
        discuss mailing list
        [email protected] <mailto:[email protected]>
        http://openvswitch.org/mailman/listinfo/discuss





--



--
Hilman Fathurrahman
Teknik Telekomunikasi ITB
/i[at]hil-man.net
+6283821320101/
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to