autogen.sh fails on Ubuntu 8.04

Bug #409428 reported by Didier Barvaux
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Status tracked in Rohc-main
1.2.x
Fix Released
Medium
Didier Barvaux
Rohc-main
Fix Released
Medium
Didier Barvaux

Bug Description

Reported by Josephine Kakande on the mailing list: https://lists.launchpad.net/rohc/msg00001.html

When i try to configure the rohc-1.1.0 library I get the following error:

:~/rohc-1.1.0$ ./autogen.sh

./autogen.sh: 11: function: not found
Building ... done
./autogen.sh: 19: Syntax error: "}" unexpected

Tags: library
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Reproduced on Ubuntu Hardy 8.04 LTS.

Changed in rohc:
assignee: nobody → Didier Barvaux (didier-barvaux)
importance: Undecided → Medium
status: New → Confirmed
tags: added: library
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Ubuntu 8.04 uses dash as default shell. The ./autogen.sh script is not compatible with dash. The 'function' keyword placed before a function name is not accepted.

Solution: simply drop the 'function' keyword.
Affected versions: 1.0.0, 1.1.0 and 1.2.0

Changed in rohc:
status: Confirmed → In Progress
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Committed in the 1.2.x branch.
Scheduled for bugfix release 1.2.1.

Changed in rohc:
milestone: none → 1.2.1
status: In Progress → Fix Committed
Changed in rohc:
milestone: none → 1.2.1
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Also committed in the main branch for next 1.3.0 release.

Revision history for this message
Khaan (pizwan80) wrote :

Hi all,

firstly thanks for sharing the resource , Im novice to open source system. I have download rohc -1.2.0 and followed the instruction on link

https://answers.launchpad.net/rohc/+faq/635

at instruction 5.
   $ ./autogen.sh --prefix=/usr
I get the following error

ubuntu@ubuntu:~/Desktop/rohc-1.2.0$ ./autogen.sh --prefix=/usr
./autogen.sh: 8: Syntax error: "(" unexpected

Im using ubunto 7.1

Kindly guide as ubuntu is kinda greek to me, am I missing some file settings??

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

To Shaan:
This is a known bug in release 1.2.0. The correction exists and will be available in version 1.2.1 that is not released yet. In the meanwhile, you can apply the patch attached to the following email : https://lists.launchpad.net/rohc/msg00005.html

Revision history for this message
Khaan (pizwan80) wrote : Re: [Bug 409428] Re: autogen.sh fails on Ubuntu 8.04

thanks so much for the reply, I will be really obliged if you can kindly
advice how to apply this patch bingCKYM17JGU.bin from the link you just
mailed.

thanks for the help

with kind regards,

Shan

On Wed, Sep 2, 2009 at 12:45 PM, Didier Barvaux <
<email address hidden>> wrote:

> To Shaan:
> This is a known bug in release 1.2.0. The correction exists and will be
> available in version 1.2.1 that is not released yet. In the meanwhile, you
> can apply the patch attached to the following email :
> https://lists.launchpad.net/rohc/msg00005.html
>
> --
> autogen.sh fails on Ubuntu 8.04
> https://bugs.launchpad.net/bugs/409428
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in RObust Header Compression (ROHC) library: Fix Committed
> Status in rohc 1.2.x series: Fix Committed
> Status in rohc trunk series: Fix Committed
>
> Bug description:
> Reported by Josephine Kakande on the mailing list:
> https://lists.launchpad.net/rohc/msg00001.html
>
> When i try to configure the rohc-1.1.0 library I get the following error:
>
> :~/rohc-1.1.0$ ./autogen.sh
>
> ./autogen.sh: 11: function: not found
> Building ... done
> ./autogen.sh: 19: Syntax error: "}" unexpected
>

Revision history for this message
Khaan (pizwan80) wrote :

thanks so much for the reply, I will be really obliged if you can kindly advice how to apply this patch bingCKYM17JGU.bin from the link you just mailed.

thanks for the help

with kind regards,

Shaan

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

To Shaan:

With respect to the howto at https://answers.launchpad.net/rohc/+faq/635, excute the following additional steps :
 - between steps 3 and 4: download the patch
       $ wget https://lists.launchpad.net/rohc/bingCKYM17JGU.bin
 - between steps 4 and 5: apply the patch
       $ patch -p0 < ../bingCKYM17JGU.bin

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.