Author Topic: Can Someone Compile This?  (Read 5363 times)

jmcneill

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • http://
Can Someone Compile This?
« on: February 26, 2006, 04:17:28 pm »
   I just don't have the expertise to compile this:

http://sourceforge.net/projects/sagcad

Has some nice features and looks good but somehow I just can't seem to get it to compile into a program.  

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Can Someone Compile This?
« Reply #1 on: February 27, 2006, 07:54:29 am »
Quote
   I just don't have the expertise to compile this:

http://sourceforge.net/projects/sagcad

Has some nice features and looks good but somehow I just can't seem to get it to compile into a program.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116163\"][{POST_SNAPBACK}][/a][/div]

I'll give it a try.

BTW : QCad runs on pocketworkstation (see "debian on pdaxrom" thread for more info). It doesn't support polylines though, only the commercial version does.

Have fun,
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

jmcneill

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • http://
Can Someone Compile This?
« Reply #2 on: February 27, 2006, 09:27:02 am »
Chero
         I have had the best luck with the SuSE source.  Four functions seem to be the most Trouble, 1 in command.c and 3 in etc.c.  Hope that info helps.

Jim

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Can Someone Compile This?
« Reply #3 on: February 27, 2006, 12:48:31 pm »
Quote
Chero
         I have had the best luck with the SuSE source.  Four functions seem to be the most Trouble, 1 in command.c and 3 in etc.c.  Hope that info helps.

Jim
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116241\"][{POST_SNAPBACK}][/a][/div]

I noticed,

I'll have a closer look this evening.

Have fun,
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Can Someone Compile This?
« Reply #4 on: February 28, 2006, 11:51:06 am »
Quote
Chero
         I have had the best luck with the SuSE source.  Four functions seem to be the most Trouble, 1 in command.c and 3 in etc.c.  Hope that info helps.

Jim
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116241\"][{POST_SNAPBACK}][/a][/div]

3 errors out, one to go.
Won't do it tonight, i'm too tired. Guess I'll go to bed early.

Have fun,
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

2or0

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://
Can Someone Compile This?
« Reply #5 on: February 28, 2006, 12:10:46 pm »
In following link, you can find sagcad for pdaXrom. I did not check if it works or not. Good luck!

http://pdaxrom.sourceforge.jp/wiki/index.p...%ED%A1%BC%A5%C0
Zaurus SL-C3200 with Debian armel of kernel 2.6.24-yonggun
Ambicom WL1100C WLAN
1 GB Sandisk SD / 1 GB Lexar SD / 256 MB Dane-Elec CF
-----
Blog http://yonggun.tistory.com (English/Korean)

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Can Someone Compile This?
« Reply #6 on: February 28, 2006, 03:33:29 pm »
Quote
In following link, you can find sagcad for pdaXrom. I did not check if it works or not. Good luck!

http://pdaxrom.sourceforge.jp/wiki/index.p...%ED%A1%BC%A5%C0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116395\"][{POST_SNAPBACK}][/a][/div]

I can't read anything on that page, but found the ipk.
For me it segfaults, what am I missing ?

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Xromer

  • Full Member
  • ***
  • Posts: 178
    • View Profile
    • http://
Can Someone Compile This?
« Reply #7 on: March 01, 2006, 03:53:00 pm »
Quote
Quote
In following link, you can find sagcad for pdaXrom. I did not check if it works or not. Good luck!

http://pdaxrom.sourceforge.jp/wiki/index.p...%ED%A1%BC%A5%C0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116395\"][{POST_SNAPBACK}][/a][/div]

I can't read anything on that page, but found the ipk.
For me it segfaults, what am I missing ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116420\"][{POST_SNAPBACK}][/a][/div]

Try it, it tells me that you have to put an initial config and then segfaults but all the DOCS are in DE and i can' t understand.
Put in your config and let me know.
BYEZ

P.S. Appears a window telling this exactly
An initial setting file wasn' t found out.
Set environment immediately after start-up
« Last Edit: March 01, 2006, 03:59:03 pm by Xromer »
[span style=\'font-size:10pt;line-height:100%\']I don't know how, but i' ll do!!!
This is how i like to live! :)[/span]

Ipaq hx4700

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Can Someone Compile This?
« Reply #8 on: March 02, 2006, 12:03:41 pm »
Quote
Quote
Quote
In following link, you can find sagcad for pdaXrom. I did not check if it works or not. Good luck!

http://pdaxrom.sourceforge.jp/wiki/index.p...%ED%A1%BC%A5%C0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116395\"][{POST_SNAPBACK}][/a][/div]

I can't read anything on that page, but found the ipk.
For me it segfaults, what am I missing ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116420\"][{POST_SNAPBACK}][/a][/div]

Try it, it tells me that you have to put an initial config and then segfaults but all the DOCS are in DE and i can' t understand.
Put in your config and let me know.
BYEZ

P.S. Appears a window telling this exactly
An initial setting file wasn' t found out.
Set environment immediately after start-up
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116596\"][{POST_SNAPBACK}][/a][/div]

I have the same window and segfault. The second time you try to start, it's without this window, "only" the segfault stays. A $HOME/.sagcad is created the first time.
I'll check whether I can find something in the docs, but my german-knowledge is very small and I don't have high hopes cause the same thing happens in pocketworkstation, so I think it's got to do something with "arm".

Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Xromer

  • Full Member
  • ***
  • Posts: 178
    • View Profile
    • http://
Can Someone Compile This?
« Reply #9 on: March 02, 2006, 03:30:19 pm »
Quote
Quote
Quote
Quote
In following link, you can find sagcad for pdaXrom. I did not check if it works or not. Good luck!

http://pdaxrom.sourceforge.jp/wiki/index.p...%ED%A1%BC%A5%C0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116395\"][{POST_SNAPBACK}][/a][/div]

I can't read anything on that page, but found the ipk.
For me it segfaults, what am I missing ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116420\"][{POST_SNAPBACK}][/a][/div]

Try it, it tells me that you have to put an initial config and then segfaults but all the DOCS are in DE and i can' t understand.
Put in your config and let me know.
BYEZ

P.S. Appears a window telling this exactly
An initial setting file wasn' t found out.
Set environment immediately after start-up
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116596\"][{POST_SNAPBACK}][/a][/div]

I have the same window and segfault. The second time you try to start, it's without this window, "only" the segfault stays. A $HOME/.sagcad is created the first time.
I'll check whether I can find something in the docs, but my german-knowledge is very small and I don't have high hopes cause the same thing happens in pocketworkstation, so I think it's got to do something with "arm".

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116702\"][{POST_SNAPBACK}][/a][/div]

Chero i think that is something relating to the libiconv, i' ve got problems in compilation about that.
[span style=\'font-size:10pt;line-height:100%\']I don't know how, but i' ll do!!!
This is how i like to live! :)[/span]

Ipaq hx4700

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Can Someone Compile This?
« Reply #10 on: March 03, 2006, 02:05:13 am »
Quote
Quote
Quote
Quote
Quote
In following link, you can find sagcad for pdaXrom. I did not check if it works or not. Good luck!

http://pdaxrom.sourceforge.jp/wiki/index.p...%ED%A1%BC%A5%C0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116395\"][{POST_SNAPBACK}][/a][/div]

I can't read anything on that page, but found the ipk.
For me it segfaults, what am I missing ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116420\"][{POST_SNAPBACK}][/a][/div]

Try it, it tells me that you have to put an initial config and then segfaults but all the DOCS are in DE and i can' t understand.
Put in your config and let me know.
BYEZ

P.S. Appears a window telling this exactly
An initial setting file wasn' t found out.
Set environment immediately after start-up
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116596\"][{POST_SNAPBACK}][/a][/div]

I have the same window and segfault. The second time you try to start, it's without this window, "only" the segfault stays. A $HOME/.sagcad is created the first time.
I'll check whether I can find something in the docs, but my german-knowledge is very small and I don't have high hopes cause the same thing happens in pocketworkstation, so I think it's got to do something with "arm".

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116702\"][{POST_SNAPBACK}][/a][/div]

Chero i think that is something relating to the libiconv, i' ve got problems in compilation about that.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=116727\"][{POST_SNAPBACK}][/a][/div]

I'm no expert in this, but I get the feeling that iconv.h can be provided by "glibc(libc6)" or by "libiconv". Is there a difference between them ?

When I try compiling with the iconv.h from the zgcc-image, I get "iconv not found". If  I compile libiconv (prefix=/usr) first, I don't get the error, but I can't get past the "test"-routine in src/etc.c

I can't read any of the comments in the source (they are japanese ?), so I don't know whether it's save to leave the test-routine out. When I do leave it out, I get the same result as the downloaded ipk. (segfault)

Can't the segfault have anything to do with the size of reals ("comparison is always true due to limited size of data type"). I can imagine a CAD app needs a lot of them.
Some time ago I compiled QGis (pocketworkstation). It runs but I can't get any maps rendered. I was told that it had to to with "the limited size of data type".
If there's a way to solve this, I'm all ears. Having CAD and GIS on the Z would really rock.

I had a quick look at the docs, from what I understand the first run of sagcad should be from the source dir. Maybe that's why the ipk doesn't work.

Chero.
« Last Edit: March 03, 2006, 02:11:51 am by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Xromer

  • Full Member
  • ***
  • Posts: 178
    • View Profile
    • http://
Can Someone Compile This?
« Reply #11 on: March 03, 2006, 07:42:03 pm »
Quote
Quote
Quote
Quote
Quote
Quote
In following link, you can find sagcad for pdaXrom. I did not check if it works or not. Good luck!

http://pdaxrom.sourceforge.jp/wiki/index.p...%ED%A1%BC%A5%C0
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116395\"][{POST_SNAPBACK}][/a][/div]

I can't read anything on that page, but found the ipk.
For me it segfaults, what am I missing ?

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116420\"][{POST_SNAPBACK}][/a][/div]

Try it, it tells me that you have to put an initial config and then segfaults but all the DOCS are in DE and i can' t understand.
Put in your config and let me know.
BYEZ

P.S. Appears a window telling this exactly
An initial setting file wasn' t found out.
Set environment immediately after start-up
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116596\"][{POST_SNAPBACK}][/a][/div]

I have the same window and segfault. The second time you try to start, it's without this window, "only" the segfault stays. A $HOME/.sagcad is created the first time.
I'll check whether I can find something in the docs, but my german-knowledge is very small and I don't have high hopes cause the same thing happens in pocketworkstation, so I think it's got to do something with "arm".

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116702\"][{POST_SNAPBACK}][/a][/div]

Chero i think that is something relating to the libiconv, i' ve got problems in compilation about that.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=116727\"][{POST_SNAPBACK}][/a][/div]

I'm no expert in this, but I get the feeling that iconv.h can be provided by "glibc(libc6)" or by "libiconv". Is there a difference between them ?

When I try compiling with the iconv.h from the zgcc-image, I get "iconv not found". If  I compile libiconv (prefix=/usr) first, I don't get the error, but I can't get past the "test"-routine in src/etc.c

I can't read any of the comments in the source (they are japanese ?), so I don't know whether it's save to leave the test-routine out. When I do leave it out, I get the same result as the downloaded ipk. (segfault)

Can't the segfault have anything to do with the size of reals ("comparison is always true due to limited size of data type"). I can imagine a CAD app needs a lot of them.
Some time ago I compiled QGis (pocketworkstation). It runs but I can't get any maps rendered. I was told that it had to to with "the limited size of data type".
If there's a way to solve this, I'm all ears. Having CAD and GIS on the Z would really rock.

I had a quick look at the docs, from what I understand the first run of sagcad should be from the source dir. Maybe that's why the ipk doesn't work.

Chero.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116783\"][{POST_SNAPBACK}][/a][/div]

Sure you are right it maybe.
But if it's the real type why it try to open an initial window before doing a copy of config file? No i think it' s related to many things, one is the Japanese format and libiconv issue as u said, one is related to the config file and other can be the ruby tools implementation. I think it will be a big hassle to make it work but we can try. Offcourse if u can find an English native utillities would be better and easyer to compile and learn, as the Sagcad documentation is in Japanese or German.
Tomorrow, that i have time i will do some check.
Byez!
[span style=\'font-size:10pt;line-height:100%\']I don't know how, but i' ll do!!!
This is how i like to live! :)[/span]

Ipaq hx4700