Creating packages with debconf

2006-09-18 Thread Rodrigo Tavares
Hello,

I just configured the tree with debconf, by create a
package, but when i try to build a package the
makefile  is required. I choose single package.

Skipping copying to script-gera-banco-1.4.orig since
script-gera-dbar-1.4.orig exists.
Currently there is no top level Makefile. This may
require additional tuning.
You already have a debian/ subdirectory in the source
tree. dh_make will not try to overwrite anything.

The intetion is, my package execute the script (create
bd in postgresql) and remove this script, and make
some a questions.
How I can to create Makefile in this case ?

best regards,

Faria








___ 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar 
seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Creating packages with debconf

2006-09-18 Thread Tim Dijkstra
On Mon, 18 Sep 2006 11:47:34 + (GMT)
Rodrigo Tavares [EMAIL PROTECTED] wrote:

 Hello,
 
 I just configured the tree with debconf, by create a
 package, but when i try to build a package the
 makefile  is required. I choose single package.
 
 Skipping copying to script-gera-banco-1.4.orig since
 script-gera-dbar-1.4.orig exists.
 Currently there is no top level Makefile. This may
 require additional tuning.
 You already have a debian/ subdirectory in the source
 tree. dh_make will not try to overwrite anything.
 
 The intetion is, my package execute the script (create
 bd in postgresql) and remove this script, and make
 some a questions.
 How I can to create Makefile in this case ?

I think you're confused, you're mixing up debconf, dh_make and
dpkg-buildpackage.

You can use dh_make only to setup some defaults for your package-to-be,
it does _not_ build a package.

Have you read http://www.debian.org/doc/maint-guide/ ?

I suggest you start there.


grts Tim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Creating packages with debconf

2006-09-18 Thread Rodrigo Tavares
Hello Tim, 

Yes I read this link, and i take a example of
changelog. After, the error messange was the same.
Then  i try the below command.

sky:~/script-gera-db-1.4# dh_gencontrol
dh_gencontrol: Compatibility levels before 4 are
deprecated.
found eof where expected more change data or trailer
at /usr/lib/dpkg/parsechangelog/debian line 156,
STDIN line 5.
dpkg-gencontrol: error: syntax error in parsed version
of changelog at line 0: empty file
dh_gencontrol: command returned error code 6528

How I can to resolve it ?

Best regards.

Faria

--- Tim Dijkstra [EMAIL PROTECTED] escreveu:

 On Mon, 18 Sep 2006 11:47:34 + (GMT)
 Rodrigo Tavares [EMAIL PROTECTED] wrote:
 
  Hello,
  
  I just configured the tree with debconf, by create
 a
  package, but when i try to build a package the
  makefile  is required. I choose single package.
  
  Skipping copying to script-gera-banco-1.4.orig
 since
  script-gera-dbar-1.4.orig exists.
  Currently there is no top level Makefile. This may
  require additional tuning.
  You already have a debian/ subdirectory in the
 source
  tree. dh_make will not try to overwrite anything.
  
  The intetion is, my package execute the script
 (create
  bd in postgresql) and remove this script, and make
  some a questions.
  How I can to create Makefile in this case ?
 
 I think you're confused, you're mixing up debconf,
 dh_make and
 dpkg-buildpackage.
 
 You can use dh_make only to setup some defaults for
 your package-to-be,
 it does _not_ build a package.
 
 Have you read http://www.debian.org/doc/maint-guide/
 ?
 
 I suggest you start there.
 
 
 grts Tim
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 




___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale 
o discador agora! 
http://br.acesso.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Creating packages with debconf

2006-09-18 Thread Tim Dijkstra
On Mon, 18 Sep 2006 13:54:40 + (GMT)
Rodrigo Tavares [EMAIL PROTECTED] wrote:

 Hello Tim, 
 
 Yes I read this link, and i take a example of
 changelog. After, the error messange was the same.
 Then  i try the below command.
 
 sky:~/script-gera-db-1.4# dh_gencontrol
 dh_gencontrol: Compatibility levels before 4 are
 deprecated.
 found eof where expected more change data or trailer
 at /usr/lib/dpkg/parsechangelog/debian line 156,
 STDIN line 5.
 dpkg-gencontrol: error: syntax error in parsed version
 of changelog at line 0: empty file
 dh_gencontrol: command returned error code 6528
 
 How I can to resolve it ?

Use dch to generate your changelog.

It's better to ask these questions at [EMAIL PROTECTED], btw.

And really, please read the new maintainers guide!

grts Tim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Creating packages with debconf

2006-09-18 Thread Tim Dijkstra
On Mon, 18 Sep 2006 13:54:40 + (GMT)
Rodrigo Tavares [EMAIL PROTECTED] wrote:

 Hello Tim, 
 
 Yes I read this link, and i take a example of
 changelog. After, the error messange was the same.
 Then  i try the below command.
 
 sky:~/script-gera-db-1.4# dh_gencontrol
 dh_gencontrol: Compatibility levels before 4 are
 deprecated.
 found eof where expected more change data or trailer
 at /usr/lib/dpkg/parsechangelog/debian line 156,
 STDIN line 5.
 dpkg-gencontrol: error: syntax error in parsed version
 of changelog at line 0: empty file
 dh_gencontrol: command returned error code 6528
 
 How I can to resolve it ?

Use dch to generate your changelog.

It's better to ask these questions at [EMAIL PROTECTED], btw.

And really, please read the new maintainers guide!

grts Tim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]