You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2012/07/31 15:33:20 UTC

[Bug 53629] New: Error building APR-iconv for x64

https://issues.apache.org/bugzilla/show_bug.cgi?id=53629

          Priority: P2
            Bug ID: 53629
          Assignee: bugs@apr.apache.org
           Summary: Error building APR-iconv for x64
          Severity: normal
    Classification: Unclassified
          Reporter: vali@kamarad.cz
          Hardware: PC
            Status: NEW
           Version: HEAD
         Component: APR-iconv
           Product: APR

Created attachment 29143
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29143&action=edit
Patch to modules.mk.win

There is a bug in modules.mk.win causing broken build for x64 using Visual C++.
Patch attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 53629] Error building APR-iconv for x64

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53629

Gregg L. Smith <gl...@gknw.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29143|0                           |1
        is obsolete|                            |

--- Comment #3 from Gregg L. Smith <gl...@gknw.net> ---
Created attachment 29461
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29461&action=edit
Patch of just the needed fixes

Ok, I see the problem now and you are correct. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 53629] Error building APR-iconv for x64

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53629

Gregg L. Smith <gl...@gknw.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Gregg L. Smith <gl...@gknw.net> ---
After going through the hoops of picking out just what is changing in your
patch, here is what I found:

--- modules.mk.mak    2012-10-07 17:25:50.904000000 -0700
+++ modules.mk.mak    2012-10-07 17:22:12.453000000 -0700
@@ -167,10 +167,10 @@

 !IF "$(BIND_MODE)" == "shared"
 API_LIBS = $(APR_SOURCE)\x64\Debug\libapr-1.lib \
-       $(API_SOURCE)\x64\Debug\libapriconv-1.lib
+       $(API_SOURCE)\Debug\libapriconv-1.lib
 CFG_CFLAGS  = /MDd /Zi /Od /EHsc /D "_DEBUG"
 CFG_LDFLAGS = /debug /incremental:no /machine:X64
-CFG_OUTPUT  = x64\Debug\iconv
+CFG_OUTPUT  = Debug\iconv

 !ELSEIF "$(BIND_MODE)" == "static"
 APR_LIB = $(APR_SOURCE)\x64\LibD\apr-1.lib \

Without any more info than it breaks the VC++ compile I could not get behind
this change. I build x64 often and do not have a problem with this. 

If this is breaking your build, how come APR is not since it is output to
\x64\Debug also?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 53629] Error building APR-iconv for x64

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53629

Gregg L. Smith <gl...@gknw.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gls@gknw.net

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


[Bug 53629] Error building APR-iconv for x64

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53629

--- Comment #2 from vali@kamarad.cz ---
Hi Gregg,

it looks like you applied the patch in the opposite direction. And it looks
like you had the correct makefile?

If I download the recommended release from a mirror, e.g.
http://apache.miloslavbrada.cz/apr/apr-iconv-1.2.1-win32-src-r2.zip, then in
the section "x64 Debug" there are the two incorrect lines I wanted to patch:

ln 170:
       $(API_SOURCE)\Debug\libapriconv-1.lib

ln 173:
CFG_OUTPUT  = Debug\iconv

They should be:

ln 170:
       $(API_SOURCE)\x64\Debug\libapriconv-1.lib

ln 173:
CFG_OUTPUT  = x64\Debug\iconv

And the same is in head revision in the SVN repository.

I hope everything is clear now.

Cheers,
- Vali

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org