1 (edited by fredg 2007-03-20 19:46:38)

Topic: [Solved] GParted doesn't want to compile against Parted-1.8.3

Hi,

All is in the title, here are some warnings given during make:
[code]In file included from /usr/include/parted/natmath.h:33,
                 from /usr/include/parted/constraint.h:26,
                 from /usr/include/parted/parted.h:29,
                 from ../include/../include/GParted_Core.h:24,
                 from ../include/Win_GParted.h:25,
                 from GParted_Core.cc:18:
/usr/include/parted/disk.h:30: erreur: utilisation de enum

Zenwalk Linux: Ever tried Zen Computing ?

2

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

Yes, got the same here smile
The problem comes from somethings that changed in parted.
NULL value is no more accepted in GParted_Core.cc.
You may try to change NULL by 0 (zero) on line 73. but doesn't seem to do the trick anyway.

...

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

3 (edited by Patrick Verner 2007-03-18 17:40:01)

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

I already submitted a bug to parted. It's in the include/parted/disk.h. It's hard to say if it's even parted's fault because parted-1.8.3 works fine.

GParted has all sorts of problems with parted-2.0. plors needs to work around the parted code, not the other way around. If I could do it, I would.

Patrick Verner
www.partedmagic.com

4

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

This is not a bug in parted, but a bug in gparted

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

5

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

You may try to change NULL by 0 (zero) on line 73. but doesn't seem to do the trick anyway.

Yes, you're right.

This is not a bug in parted, but a bug in gparted

Yes, I agree.

++

Zenwalk Linux: Ever tried Zen Computing ?

6

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

Recompile parted-1.8.3 applying this patch and you will compile gparted successfully !
http://lists.gnu.org/archive/html/bug-p … 00008.html

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

7

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

But linux-swap is returned as "unknown fs" !
This time it sounds to come from GParted. They changed something in parted...

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

8

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

Got the patch for swap : currently making tests ...

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

9

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

BTW parted-1.8.4 is out and solves the compile-bug.

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

10

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

The linux-swap patch works, but only half-works :-/

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

11

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

BTW parted-1.8.4 is out and solves the compile-bug

Yes, confirmed, i am very pleased smile

Got the patch for swap : currently making tests ...

Any link ? wink

++

Zenwalk Linux: Ever tried Zen Computing ?

12

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

No more link needed : parted-1.8.6 is out, and all the problem are fixed !
They reverted to old linux swap config.
Enjoy smile

Larry
GParted-project Admin
Former GParted-LiveCD maintainer (2007)

13

Re: [Solved] GParted doesn't want to compile against Parted-1.8.3

enjoy smile

I do, thanks a lot (soon available in the snapshot zenwalk repository wink )

Best regards.

Fred smile

Zenwalk Linux: Ever tried Zen Computing ?